aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/giflib
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-07-18 14:53:33 +0800
committerdes <des@FreeBSD.org>2003-07-18 14:53:33 +0800
commit924c6fe2588b72e887c2355fab30002b7a22a22e (patch)
tree85c676512b4b48501bd7ef1e3a20a1e3e4ea335e /graphics/giflib
parent3619a5794e13f7c29a92c9c2643a2c19ac421ded (diff)
downloadfreebsd-ports-graphics-924c6fe2588b72e887c2355fab30002b7a22a22e.tar.gz
freebsd-ports-graphics-924c6fe2588b72e887c2355fab30002b7a22a22e.tar.zst
freebsd-ports-graphics-924c6fe2588b72e887c2355fab30002b7a22a22e.zip
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>.
Diffstat (limited to 'graphics/giflib')
-rw-r--r--graphics/giflib/Makefile1
-rw-r--r--graphics/giflib/files/patch-configure11
-rw-r--r--graphics/giflib/files/patch-lib::qprintf.c15
3 files changed, 12 insertions, 15 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index d85a8cf6400..09185b5fffb 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -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/
diff --git a/graphics/giflib/files/patch-configure b/graphics/giflib/files/patch-configure
new file mode 100644
index 00000000000..12620c25292
--- /dev/null
+++ b/graphics/giflib/files/patch-configure
@@ -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
diff --git a/graphics/giflib/files/patch-lib::qprintf.c b/graphics/giflib/files/patch-lib::qprintf.c
deleted file mode 100644
index 27c394717f6..00000000000
--- a/graphics/giflib/files/patch-lib::qprintf.c
+++ /dev/null
@@ -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;