Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  7 Oct 2006 21:55:45 +0200 (CEST)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/104132: [PATCH] net/linc: fix build with gcc41.
Message-ID:  <20061007195545.5DB0C39DB8@pin.if.uz.zgora.pl>
Resent-Message-ID: <200610072000.k97K0djU002785@freefall.freebsd.org>

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

>Number:         104132
>Category:       ports
>Synopsis:       [PATCH] net/linc: fix build with gcc41.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 07 20:00:39 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>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@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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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