Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  8 Sep 2002 15:32:02 +0200 (CEST)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   ports/42551: french/xtel: fixing 5.0 package build with gcc32.
Message-ID:  <20020908133202.50BD77600@graf.pompo.net>

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

>Number:         42551
>Category:       ports
>Synopsis:       french/xtel: fixing 5.0 package build with gcc32.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 08 06:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Aug 31 11:02:48 CEST 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	Bug detected by Bento.
	Cf. <URL:http://bento.freebsd.org/errorlogs/5-latest/>.

>How-To-Repeat:
	Note: I do not run -CURRENT (and currently don't have a spare machine
        to install it), but I have reproduced the bug with gcc31 from port
	lang/gcc32. Hoping this fixes also in -CURRENT...
	At least it does not break in -STABLE!

>Fix:

	Please add the following patch file:


diff -urN /usr/ports/french/xtel.orig/files/patch-Xsra_SelFile.c /usr/ports/french/xtel/files/patch-Xsra_SelFile.c
--- /usr/ports/french/xtel.orig/files/patch-Xsra_SelFile.c	Thu Jan  1 01:00:00 1970
+++ /usr/ports/french/xtel/files/patch-Xsra_SelFile.c	Sun Sep  8 15:09:11 2002
@@ -0,0 +1,12 @@
+--- Xsra/SelFile.c.orig	Fri Apr  9 10:07:40 1999
++++ Xsra/SelFile.c	Sun Sep  8 15:08:02 2002
+@@ -46,8 +46,8 @@
+ #include <errno.h>
+ /* BSD 4.3 errno.h does not declare errno */
+ extern int errno;
+-extern int sys_nerr;
+ #ifndef __FreeBSD__
++extern int sys_nerr;
+ #ifndef __GLIBC__
+ extern char *sys_errlist[];
+ #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?20020908133202.50BD77600>