[PATCH] net/linc: fix build with gcc41.

trasz trasz at pin.if.uz.zgora.pl
Sat Oct 7 12:55:26 PDT 2006


>Submitter-Id:	current-users
>Originator:	trasz
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] net/linc: fix build with gcc41.
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 6.1-RELEASE i386
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jun  3 01:12:10 CEST
>Description:
Fix build with gcc41.

(http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006100419/linc-1.0.3_6.log)

Added file(s):
- files/patch-src-linc-protocols.c

Port maintainer (gnome at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- linc-1.0.3_6.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/linc/Makefile /home/trasz/linc/Makefile
--- /usr/ports/net/linc/Makefile	Thu Jun  1 00:18:45 2006
+++ /home/trasz/linc/Makefile	Sat Oct  7 21:55:00 2006
@@ -22,7 +22,7 @@
 
 USE_GMAKE=	yes
 USE_GNOME=	gnomehack glib20
-INSTALLS_SHLIB=	yes
+USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	libtool:15
 CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc \
 		--disable-gtk-doc
diff -ruN --exclude=CVS /usr/ports/net/linc/files/patch-src-linc-protocols.c /home/trasz/linc/files/patch-src-linc-protocols.c
--- /usr/ports/net/linc/files/patch-src-linc-protocols.c	Thu Jan  1 01:00:00 1970
+++ /home/trasz/linc/files/patch-src-linc-protocols.c	Sat Oct  7 21:55:00 2006
@@ -0,0 +1,11 @@
+--- src/linc-protocols.c.orig	Sat Oct  7 21:41:04 2006
++++ src/linc-protocols.c	Sat Oct  7 21:41:18 2006
+@@ -609,7 +609,7 @@
+ /* FIXME: is IN6ADDR_ANY_INIT exported on Mac OS X ? */
+ /* on Mac OS X 10.1 inaddr6_any isn't exported by libc */
+ #ifndef in6addr_any
+-	static const struct in6_addr in6addr_any = { { { 0 } } };
++	const struct in6_addr in6addr_any = { { { 0 } } };
+ #endif
+ 
+ static gboolean
--- linc-1.0.3_6.patch ends here ---



More information about the freebsd-gnome mailing list