summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2002-10-27 13:04:44 +0000
committernobutaka <nobutaka@FreeBSD.org>2002-10-27 13:04:44 +0000
commit650969fdef1a20b6169be53496a1d53a26c6cda3 (patch)
tree474b28ee4c6969c7f586a194e417d574d5952690 /editors
parenta47bb24de222d7dde0a5091346771ff7a876e8e5 (diff)
downloadFreeBSD-ports-650969fdef1a20b6169be53496a1d53a26c6cda3.zip
FreeBSD-ports-650969fdef1a20b6169be53496a1d53a26c6cda3.tar.gz
Add a patch to fix segmentation fault on -current.
Submitted by: motoyuki
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs21/Makefile2
-rw-r--r--editors/emacs21/files/patch-src:Makefile.in13
2 files changed, 14 insertions, 1 deletions
diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile
index 100a880..8dc427b 100644
--- a/editors/emacs21/Makefile
+++ b/editors/emacs21/Makefile
@@ -7,7 +7,7 @@
PORTNAME= emacs
PORTVERSION= 21.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/editors/emacs21/files/patch-src:Makefile.in b/editors/emacs21/files/patch-src:Makefile.in
new file mode 100644
index 0000000..d0e3125
--- /dev/null
+++ b/editors/emacs21/files/patch-src:Makefile.in
@@ -0,0 +1,13 @@
+--- src/Makefile.in.orig Mon Dec 17 23:09:32 2001
++++ src/Makefile.in Mon Oct 21 13:37:26 2002
+@@ -155,6 +155,10 @@
+ /* This holds special options for linking temacs
+ that should be used for linking anything else. */
+ #ifndef LD_SWITCH_SYSTEM_TEMACS
++#if defined(__FreeBSD_version) && (__FreeBSD_version >= 500042)
++#define LD_SWITCH_SYSTEM_TEMACS -znocombreloc
++#else
+ #define LD_SWITCH_SYSTEM_TEMACS
++#endif
+ #endif
+
OpenPOWER on IntegriCloud