summaryrefslogtreecommitdiff
path: root/graphics/libungif/patches
diff options
context:
space:
mode:
authorthorpej <thorpej@pkgsrc.org>2002-12-04 07:04:36 +0000
committerthorpej <thorpej@pkgsrc.org>2002-12-04 07:04:36 +0000
commit6d4b4db105b5be360ea6afc4752500a58f25653c (patch)
tree5b897524043f997ecca44a2df07f85713f15b921 /graphics/libungif/patches
parent6d7b822c5c69181e5423270b869b31d25cab818c (diff)
downloadpkgsrc-6d4b4db105b5be360ea6afc4752500a58f25653c.tar.gz
Fix the varargs usage in GifQprintf().
Diffstat (limited to 'graphics/libungif/patches')
-rw-r--r--graphics/libungif/patches/patch-ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/libungif/patches/patch-ac b/graphics/libungif/patches/patch-ac
new file mode 100644
index 00000000000..58177f67e56
--- /dev/null
+++ b/graphics/libungif/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.3 2002/12/04 07:04:37 thorpej Exp $
+
+--- lib/qprintf.c.orig Tue Dec 3 22:51:36 2002
++++ lib/qprintf.c Tue Dec 3 22:57:23 2002
+@@ -34,13 +34,14 @@
+ * Same as fprintf to stderr but with optional print. *
+ *****************************************************************************/
+ #ifdef HAVE_VARARGS_H
+-void GifQprintf(int va_alist)
++void GifQprintf(Format, va_alist)
++ char *Format;
++ va_dcl
+ {
+- char *Format, Line[128];
++ char Line[128];
+ va_list ArgPtr;
+
+ va_start(ArgPtr);
+- Format = va_arg(ArgPtr, char *);
+ #else
+ void GifQprintf(char *Format, ...)
+ {