Add a patch to fix segmentation fault on -current.

Submitted by:  motoyuki
This commit is contained in:
MANTANI Nobutaka 2002-10-27 13:04:44 +00:00
parent 818e269408
commit b29c65ace8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68923
2 changed files with 14 additions and 1 deletions

View file

@ -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}

View file

@ -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