diff options
author | thorpej <thorpej@pkgsrc.org> | 2002-12-04 07:04:36 +0000 |
---|---|---|
committer | thorpej <thorpej@pkgsrc.org> | 2002-12-04 07:04:36 +0000 |
commit | 6d4b4db105b5be360ea6afc4752500a58f25653c (patch) | |
tree | 5b897524043f997ecca44a2df07f85713f15b921 /graphics | |
parent | 6d7b822c5c69181e5423270b869b31d25cab818c (diff) | |
download | pkgsrc-6d4b4db105b5be360ea6afc4752500a58f25653c.tar.gz |
Fix the varargs usage in GifQprintf().
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libungif/distinfo | 3 | ||||
-rw-r--r-- | graphics/libungif/patches/patch-ac | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/graphics/libungif/distinfo b/graphics/libungif/distinfo index 17228e49e41..682f193ed83 100644 --- a/graphics/libungif/distinfo +++ b/graphics/libungif/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2002/03/14 18:18:20 wiz Exp $ +$NetBSD: distinfo,v 1.5 2002/12/04 07:04:36 thorpej Exp $ SHA1 (libungif-4.1.0b1.tar.gz) = 5675aeb4a96ec476929c6d78907b5a689f872b03 Size (libungif-4.1.0b1.tar.gz) = 351757 bytes SHA1 (patch-ab) = a93e2fe0a93aacda4566e723e681fd316fe2cb2a +SHA1 (patch-ac) = e5e156e1b85254d989c19dd39bb10e4fd8c33054 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, ...) + { |