pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38570: irssi won't compile with option -inet6



>Number:         38570
>Category:       pkg
>Synopsis:       irssi won't compile with option -inet6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 03 20:50:01 +0000 2008
>Originator:     Daniel Horecki
>Release:        4.0 STABLE
>Organization:
>Environment:
NetBSD myrkr.stars 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #1: Wed Mar 26 
21:32:24 CET 2008  
root%myrkr.stars@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386

>Description:
If you have userland with USE_INET6=no and tries to build irssi, it breaks out 
with this:

../core/libcore.a(network.o): In function `sin_set_ip':
network.c:(.text+0x208): undefined reference to `in6addr_any'

Seems that configure now requires explicitly passed --disable-ipv6.
>How-To-Repeat:
Build userland with USE_INET6=no, then try to build irssi
>Fix:
This patch should resolve this:

Index: options.mk
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/chat/irssi/options.mk,v
retrieving revision 1.6
diff -u -u -r1.6 options.mk
--- options.mk  25 Nov 2007 13:19:04 -0000      1.6
+++ options.mk  3 May 2008 16:06:14 -0000
@@ -23,6 +23,8 @@
 
 .if !empty(PKG_OPTIONS:Minet6)
 CONFIGURE_ARGS+=       --enable-ipv6
+.else
+CONFIGURE_ARGS+=       --disable-ipv6
 .endif
 
 .if !empty(PKG_OPTIONS:Mssl)

Original is at http://morr.pl/netbsd/irssi-no-ipv6.diff



Home | Main Index | Thread Index | Old Index