Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2002 22:53:41 +0900 (JST)
From:      NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45336: japanese/emacs21-emcws also needs -znocombreloc
Message-ID:  <200211161353.gAGDrfSL078622@xa12.heimat.gr.jp>

next in thread | raw e-mail | index | archive | help

>Number:         45336
>Category:       ports
>Synopsis:       japanese/emacs21-emcws also needs -znocombreloc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 16 06:00:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     NAKAJI Hiroyuki
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD xa12.heimat.gr.jp 5.0-CURRENT FreeBSD 5.0-CURRENT #21: Thu Nov 7 18:02:30 JST 2002 root@xa12.heimat.gr.jp:/usr/obj/usr/src/sys/NAKAJI i386


	
>Description:
	As I, maintainer of japanese/emacs2[01]-emcws, reported about
emacs20-emcws in ports/44926, japanese/emacs21-emcws also needs same
LDFLAGS to avoid core dump on recent 5.0-current.

>How-To-Repeat:
	cd /usr/ports/japanese/emacs21-emcws
	make install

	And execute /usr/local/bin/emcws-21.2 on X. Invoked with '-nw'
option, emcws-21.2 does not dump core.

>Fix:

	Here is 'cvs diff'.

Index: files/patch-src:s:freebsd.h
===================================================================
RCS file: /net/pcat/home/ncvs/ports/japanese/emacs21-emcws/files/patch-src:s:freebsd.h,v
retrieving revision 1.1
diff -u -r1.1 patch-src:s:freebsd.h
--- files/patch-src:s:freebsd.h	24 May 2002 17:02:58 -0000	1.1
+++ files/patch-src:s:freebsd.h	16 Nov 2002 13:37:54 -0000
@@ -1,5 +1,5 @@
 --- src/s/freebsd.h.orig	Tue Feb 20 19:52:17 2001
-+++ src/s/freebsd.h	Mon Feb 18 11:51:50 2002
++++ src/s/freebsd.h	Sat Nov 16 21:46:03 2002
 @@ -68,6 +68,11 @@
  #define LIBS_SYSTEM -lutil
  #if __FreeBSD_version < 400000
@@ -12,3 +12,11 @@
  #endif
  
  #define SYSV_SYSTEM_DIR
+@@ -220,3 +225,7 @@
+    of sigblock says it is obsolete.  */
+ 
+ #define POSIX_SIGNALS		1
++
++#if __FreeBSD_version >= 500000
++#define LD_SWITCH_SYSTEM_TEMACS -znocombreloc
++#endif
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211161353.gAGDrfSL078622>