pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/33691: net/netcat6 fails to build (+fix)
>Number: 33691
>Category: pkg
>Synopsis: net/netcat6 fails to build.
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 10 16:45:00 +0000 2006
>Originator: martijnb%atlas.ipv6.stack.nl@localhost
>Release: NetBSD 3.99.21
>Organization:
>Environment:
System: NetBSD atlas.ipv6.stack.nl 3.99.21 NetBSD 3.99.21 (ATLAS) #0: Sat Jun
10 12:31:01 CEST 2006
martijnb%atlas.ipv6.stack.nl@localhost:/usr/obj/sys/arch/amd64/compile/ATLAS
amd64
Architecture: x86_64
Machine: amd64
>Description:
net/netcat6 fails to build on a -current system w/ gcc4 due to a
conflicting redifinition of alloca:
source='netsupport.c' object='netsupport.o' libtool=no
depfile='.deps/netsupport.Po' tmpdepfile='.deps/netsupport.TPo' depmode=gcc3
/bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../contrib
-I../intl -DLOCALEDIR=\"/usr/pkg/share/locale\" -I/usr/include -O2
-I/usr/include -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wcast-qual
-Wcast-align -finline-functions -O2 -I/usr/include -c `test -f 'netsupport.c'
|| echo './'`netsupport.c
netsupport.c:42: warning: function declaration isn't a prototype
netsupport.c:42: error: conflicting types for 'alloca'
*** Error code 1
>How-To-Repeat:
Try to build net/netcat6
>Fix:
Have the existing workaround for FreeBSD and DragonFlyBSD apply to
NetBSD as well.
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/net/netcat6/patches/patch-aa,v
retrieving revision 1.3
diff -r1.3 patch-aa
3c3
< --- src/netsupport.c.orig 2006-03-14 01:33:01.000000000 +0000
---
> --- src/netsupport.c.orig 2006-01-19 23:46:23.000000000 +0100
10c10
< +#if !defined(alloca) && !defined(__DragonFly__) && !defined(__FreeBSD__)
---
> +#if !defined(alloca) && !defined(__DragonFly__) && !defined(__FreeBSD__) &&
> !defined(__NetBSD__)
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index