Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 21:18:25 +0900 (JST)
From:      NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44926: japanese/emacs20-emcws fails on current
Message-ID:  <200211051218.gA5CIPHj038008@xa12.heimat.gr.jp>

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

>Number:         44926
>Category:       ports
>Synopsis:       japanese/emacs20-emcws fails on current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 05 04:20:03 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 #15: Mon Oct 28 07:52:28 JST 2002 root@xa12.heimat.gr.jp:/usr/obj/usr/src/sys/NAKAJI i386


	
>Description:
	Japanese/emacs20-emcws dump core when using x11. From current
list, a linker option "-znocombreloc" can solve this problem.

>How-To-Repeat:

>Fix:

Files/patch-cb needs update. Here is a diff for patch-cb.

Index: files/patch-cb
===================================================================
RCS file: /net/pcat/home/ncvs/ports/japanese/emacs20-emcws/files/patch-cb,v
retrieving revision 1.1
diff -u -r1.1 patch-cb
--- files/patch-cb	27 Jun 2001 14:33:36 -0000	1.1
+++ files/patch-cb	4 Nov 2002 02:32:13 -0000
@@ -1,8 +1,8 @@
---- src/s/freebsd.h.orig	Tue Apr 13 03:22:12 1999
-+++ src/s/freebsd.h	Sat Jul 24 01:30:10 1999
-@@ -45,6 +45,13 @@
- #define LIBS_SYSTEM -lutil
+--- src/s/freebsd.h.orig	Tue May  2 21:29:10 2000
++++ src/s/freebsd.h	Mon Nov  4 11:29:52 2002
+@@ -47,6 +47,13 @@
  #define LIBS_TERMCAP -ltermcap
+ #endif
  
 +/* Use XPG4 Library for FreeBSD */
 +#if __FreeBSD_version >= 220000
@@ -14,7 +14,7 @@
  #define SYSV_SYSTEM_DIR
  
  /* freebsd has POSIX-style pgrp behavior. */
-@@ -54,9 +61,16 @@
+@@ -56,9 +63,16 @@
  #ifdef __ELF__
  
  #define LD_SWITCH_SYSTEM
@@ -32,3 +32,11 @@
  #undef LIB_GCC
  #define LIB_GCC
  
+@@ -150,3 +164,7 @@
+    be seen again in a later read(2), without the CRs.  */
+ 
+ #define BROKEN_PTY_READ_AFTER_EAGAIN 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?200211051218.gA5CIPHj038008>