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

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.
Build userland with USE_INET6=no, then try to build irssi
This patch should resolve this:

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

Original is at

Home | Main Index | Thread Index | Old Index