diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-20 00:37:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-20 00:37:45 +0000 |
commit | 2033572e6e8b1772f3c26c70cfd25ca92e8cd3b9 (patch) | |
tree | 5a92cb17054f3135ab4b57ed220124ec81111971 | |
parent | 2ccbb422f93cca66aaad8593292788b4e3ab3304 (diff) | |
download | pkgsrc-2033572e6e8b1772f3c26c70cfd25ca92e8cd3b9.tar.gz |
va_arg has to consider int promotion of char.
-rw-r--r-- | security/pgp5/distinfo | 3 | ||||
-rw-r--r-- | security/pgp5/patches/patch-am | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/security/pgp5/distinfo b/security/pgp5/distinfo index 2675308cc26..5be560c4d65 100644 --- a/security/pgp5/distinfo +++ b/security/pgp5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2005/02/24 13:10:11 agc Exp $ +$NetBSD: distinfo,v 1.8 2006/01/20 00:37:45 joerg Exp $ SHA1 (pgp50i-unix-src.tar.gz) = b740afe0bf557deedb53604274997cb2bbecac33 RMD160 (pgp50i-unix-src.tar.gz) = 8400bef0e3a4452e1c89373c070a11dce71572f4 @@ -15,6 +15,7 @@ SHA1 (patch-ai) = abaf43318b95d608693022144b565f7172a9bcfb SHA1 (patch-aj) = 0ac8a7d056fb025bf2a516ac2a09edbabe718da7 SHA1 (patch-ak) = 8d6ce1cef0981243b696395d6179fb9d11a005a5 SHA1 (patch-al) = a1e384466d0d401a2cf3c08d41838d15500f262a +SHA1 (patch-am) = 4f36d9e86c0d9f78b7465d7affc7c44b46656067 SHA1 (patch-ba) = 614fdf50d63f1912bf472d1900212663a88e3b8b SHA1 (patch-bb) = 801310f6d79473867ab61f39007726d7d0996b92 SHA1 (patch-bc) = 68dcf639c83a3d814000e4cc6bc319c232fca8f8 diff --git a/security/pgp5/patches/patch-am b/security/pgp5/patches/patch-am new file mode 100644 index 00000000000..bfec46df764 --- /dev/null +++ b/security/pgp5/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2006/01/20 00:37:45 joerg Exp $ + +--- lib/pgp/helper/pgpDebug.c.orig 2006-01-20 00:31:54.000000000 +0000 ++++ lib/pgp/helper/pgpDebug.c +@@ -191,7 +191,7 @@ pgpFormatVAStr( + + case 'c': /* Single character */ + { +- char ch = va_arg(args, char); ++ char ch = va_arg(args, int); + + AppendChars(buffer, &bufferIndex, bufferSize, + canonicalizeNLs, &ch, 1); |