mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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>.
This commit is contained in:
parent
95210a63e5
commit
1751fde39a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85109
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libungif
|
||||
PORTVERSION= 4.1.0b1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ftp://prtr-13.ucsc.edu/pub/libungif/ \
|
||||
ftp://ftp.ayamura.org/pub/graphics/
|
||||
|
11
graphics/giflib/files/patch-configure
Normal file
11
graphics/giflib/files/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Fri Jul 18 08:47:31 2003
|
||||
+++ configure Fri Jul 18 08:48:20 2003
|
||||
@@ -3247,7 +3247,7 @@
|
||||
fi
|
||||
done
|
||||
|
||||
-for ac_hdr in varargs.h
|
||||
+for ac_hdr in
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
@ -1,15 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- lib/qprintf.c.orig Fri Feb 1 19:15:32 2002
|
||||
+++ lib/qprintf.c Fri Feb 1 19:15:49 2002
|
||||
@@ -34,7 +34,8 @@
|
||||
* Same as fprintf to stderr but with optional print. *
|
||||
*****************************************************************************/
|
||||
#ifdef HAVE_VARARGS_H
|
||||
-void GifQprintf(int va_alist)
|
||||
+void GifQprintf(va_alist)
|
||||
+va_dcl
|
||||
{
|
||||
char *Format, Line[128];
|
||||
va_list ArgPtr;
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libungif
|
||||
PORTVERSION= 4.1.0b1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ftp://prtr-13.ucsc.edu/pub/libungif/ \
|
||||
ftp://ftp.ayamura.org/pub/graphics/
|
||||
|
11
graphics/libungif/files/patch-configure
Normal file
11
graphics/libungif/files/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Fri Jul 18 08:47:31 2003
|
||||
+++ configure Fri Jul 18 08:48:20 2003
|
||||
@@ -3247,7 +3247,7 @@
|
||||
fi
|
||||
done
|
||||
|
||||
-for ac_hdr in varargs.h
|
||||
+for ac_hdr in
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
@ -1,15 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- lib/qprintf.c.orig Fri Feb 1 19:15:32 2002
|
||||
+++ lib/qprintf.c Fri Feb 1 19:15:49 2002
|
||||
@@ -34,7 +34,8 @@
|
||||
* Same as fprintf to stderr but with optional print. *
|
||||
*****************************************************************************/
|
||||
#ifdef HAVE_VARARGS_H
|
||||
-void GifQprintf(int va_alist)
|
||||
+void GifQprintf(va_alist)
|
||||
+va_dcl
|
||||
{
|
||||
char *Format, Line[128];
|
||||
va_list ArgPtr;
|
Loading…
Reference in New Issue
Block a user