Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2002 17:40:03 -0800 (PST)
From:      Alan E <alane@geeksrus.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/33539: libungif-4.1.0b1 doesn't build with gcc 3.0.2
Message-ID:  <200201050140.g051e3103877@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/33539; it has been noted by GNATS.

From: Alan E <alane@geeksrus.net>
To: freebsd-gnats-submit@FreeBSD.org, macklobell@hotmail.com
Cc:  
Subject: Re: ports/33539: libungif-4.1.0b1 doesn't build with gcc 3.0.2
Date: Fri, 4 Jan 2002 20:35:27 -0500

 Problem is that libungif uses the *old* varargs.h if it finds it, and uses 
 stdarg.h (which is what gcc assumes va_start comes from, it seems) only if the
 old file isn't found.
 
 Solution: disable the test for varargs.h.
 
 Index: files/patch-configure.in
 ===================================================================
 RCS file: files/patch-configure.in
 diff -N files/patch-configure.in
 --- /dev/null   1 Jan 1970 00:00:00 -0000
 +++ files/patch-configure.in    5 Jan 2002 01:24:19 -0000
 @@ -0,0 +1,11 @@
 +--- configure.in~      Thu Feb 17 07:51:53 2000
 ++++ configure.in       Fri Jan  4 20:23:49 2002
 +@@ -48,7 +48,7 @@
 + dnl Checks for header files.
 + AC_HEADER_STDC
 + AC_CHECK_HEADERS(fcntl.h)
 +-AC_CHECK_HEADERS(varargs.h)
 ++#AC_CHECK_HEADERS(varargs.h)
 +
 + dnl Checks for typedefs, structures, and compiler characteristics.
 + AC_C_CONST
 
 
 
 -- 
 Alan Eldridge
 Pmmfmffmmfmp mmmpppppffmpmfpmpppff $PffMmmPppMpmPpfPpm mfpmmmmmfpmpmpppff.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201050140.g051e3103877>