From 1751fde39ad94ddc5f3eef849ca72ffc31ead88b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 18 Jul 2003 06:53:33 +0000 Subject: [PATCH] For some mysterious reason, libungif prefers the antiquated to . Unfortunately, it fails to build with gcc 3.3, so hack configure to not test for the presence of . --- graphics/giflib/Makefile | 1 + graphics/giflib/files/patch-configure | 11 +++++++++++ graphics/giflib/files/patch-lib::qprintf.c | 15 --------------- graphics/libungif/Makefile | 1 + graphics/libungif/files/patch-configure | 11 +++++++++++ graphics/libungif/files/patch-lib::qprintf.c | 15 --------------- 6 files changed, 24 insertions(+), 30 deletions(-) create mode 100644 graphics/giflib/files/patch-configure delete mode 100644 graphics/giflib/files/patch-lib::qprintf.c create mode 100644 graphics/libungif/files/patch-configure delete mode 100644 graphics/libungif/files/patch-lib::qprintf.c diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile index d85a8cf6400d..09185b5fffb2 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 000000000000..12620c252929 --- /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 27c394717f67..000000000000 --- 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; diff --git a/graphics/libungif/Makefile b/graphics/libungif/Makefile index d85a8cf6400d..09185b5fffb2 100644 --- a/graphics/libungif/Makefile +++ b/graphics/libungif/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/libungif/files/patch-configure b/graphics/libungif/files/patch-configure new file mode 100644 index 000000000000..12620c252929 --- /dev/null +++ b/graphics/libungif/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/libungif/files/patch-lib::qprintf.c b/graphics/libungif/files/patch-lib::qprintf.c deleted file mode 100644 index 27c394717f67..000000000000 --- a/graphics/libungif/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;