Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2002 00:14:25 +0200 (CEST)
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37966: Fix build on -current: net/icb
Message-ID:  <20020511221425.296C95A547@nemesis.informatik.unibw-muenchen.de>

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

>Number:         37966
>Category:       ports
>Synopsis:       Fix build on -current: net/icb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 11 15:40:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Braun
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD nemesis.informatik.unibw-muenchen.de 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Thu May 2 11:59:09 CEST 2002 root@nemesis.informatik.unibw-muenchen.de:/usr/obj/usr/src/sys/NEMESIS_OB i386


>Description:

Fixed declaration of sys_nerr in header file.

Added: files/patch-icb::c_log.c

Regards,
         Olli
>How-To-Repeat:
>Fix:

diff -ruN icb.old/files/patch-icb::c_log.c icb/files/patch-icb::c_log.c
--- icb.old/files/patch-icb::c_log.c	Thu Jan  1 00:00:00 1970
+++ icb/files/patch-icb::c_log.c	Sun May 12 00:00:49 2002
@@ -0,0 +1,12 @@
+--- icb/c_log.c.orig	Sat May 11 23:59:42 2002
++++ icb/c_log.c	Sun May 12 00:00:20 2002
+@@ -30,7 +30,8 @@
+ 	time_t time();
+ 	struct tm *t, *localtime();
+ 	time_t clock;
+-	extern int errno, sys_nerr;
++	extern int errno;
++	extern const int sys_nerr;
+ 
+ 	/* determine pathname to use */
+ 	if (path == NULL || *path == '\0') {
>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?20020511221425.296C95A547>