summaryrefslogtreecommitdiff
path: root/editors/emacs21
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-10-27 13:04:44 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-10-27 13:04:44 +0000
commitb29c65ace8a589a2b51fbdbda626081214f2e376 (patch)
treef74222758a06b35ae91140f06264e64e39383b6d /editors/emacs21
parentPERL -> REINPLACE (diff)
Add a patch to fix segmentation fault on -current.
Submitted by: motoyuki
Notes
Notes: svn path=/head/; revision=68923
Diffstat (limited to 'editors/emacs21')
-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 100a880a8943..8dc427bee1a3 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 000000000000..d0e31255cc3b
--- /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
+