Subject: pkg/22327: libungif gcc3 build problem
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <skrueger@europe.com>
List: netbsd-bugs
Date: 07/31/2003 23:55:08
>Number: 22327
>Category: pkg
>Synopsis: libungif gcc3 build problem
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 31 23:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Stefan Krüger
>Release: NetBSD-1.6U
>Organization:
>Environment:
NetBSD localhost 1.6U NetBSD 1.6U (GENERIC) #1: Wed Jul 30 23:19:35 CEST 2003 skrueger@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
gcc3 errors while compiling qprintf.c;
error is:
qprintf.c: In function `GifQprintf':
qprintf.c:39: error: parse error before "__builtin_va_alist_t"
patch taken from FreeBSD's libungif port
(http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi/ports/graphics/libungif/files/)
Commit message:
For some mysterious reason, libungif prefers the antiquated <varargs.h>
to <stdarg.h>. Unfortunately, it fails to build with gcc 3.3, so hack
configure to not test for the presence of <varargs.h>.
>How-To-Repeat:
cd /usr/pkgsrc/graphics/libungif; make
>Fix:
http://tecneeq.dyndns.org/~cosmicdj/libungif.diff.bz2
>Release-Note:
>Audit-Trail:
>Unformatted: