- Fix build with gcc41

PR:		ports/104132
Submitted by:	trasz <trasz@pin.if.uz.zgora.pl>
This commit is contained in:
Pav Lucistnik 2006-10-07 21:51:40 +00:00
parent 6a895710fa
commit ffa4af4bce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174862
2 changed files with 12 additions and 1 deletions

View file

@ -22,7 +22,7 @@ USE_BZIP2= yes
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

View file

@ -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