summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-26 17:20:27 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-26 17:20:27 +0000
commitccc64debdbbe5645b2c0777434de01b0fca05edb (patch)
tree5bd89c94eeb16778897d4641785417310ec43770
parent84ca1f0f282a12c92c19e4a4de2ddaeb4eb92a47 (diff)
downloadpkgsrc-ccc64debdbbe5645b2c0777434de01b0fca05edb.tar.gz
Fix preprocessor usage.
-rw-r--r--security/pgp5/distinfo3
-rw-r--r--security/pgp5/patches/patch-lib_pgp_keys_pgpRngRead.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/security/pgp5/distinfo b/security/pgp5/distinfo
index 5be560c4d65..57c42948e9d 100644
--- a/security/pgp5/distinfo
+++ b/security/pgp5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2006/01/20 00:37:45 joerg Exp $
+$NetBSD: distinfo,v 1.9 2011/11/26 17:20:27 joerg Exp $
SHA1 (pgp50i-unix-src.tar.gz) = b740afe0bf557deedb53604274997cb2bbecac33
RMD160 (pgp50i-unix-src.tar.gz) = 8400bef0e3a4452e1c89373c070a11dce71572f4
@@ -25,3 +25,4 @@ SHA1 (patch-bf) = e942fc19adf55474ae839c4baba92e46ed618d0b
SHA1 (patch-bg) = 9fe1e716cd7ea19b1b171fc8097ed638a95e3d82
SHA1 (patch-bh) = 3725da941b7c1e8ad4c5394d78cd6ce2639ee74e
SHA1 (patch-bi) = 17274af8773ad006b7f0aad1e734d16449f5166e
+SHA1 (patch-lib_pgp_keys_pgpRngRead.c) = e506fd5cf5684206fa62b023d0ab29ea7098207a
diff --git a/security/pgp5/patches/patch-lib_pgp_keys_pgpRngRead.c b/security/pgp5/patches/patch-lib_pgp_keys_pgpRngRead.c
new file mode 100644
index 00000000000..9bf8f7767e3
--- /dev/null
+++ b/security/pgp5/patches/patch-lib_pgp_keys_pgpRngRead.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-lib_pgp_keys_pgpRngRead.c,v 1.1 2011/11/26 17:20:28 joerg Exp $
+
+--- lib/pgp/keys/pgpRngRead.c.orig 2011-11-26 03:16:29.000000000 +0000
++++ lib/pgp/keys/pgpRngRead.c
+@@ -3368,7 +3368,7 @@ ringWrapObject (struct RingSet const *se
+ (void)obj;
+ (void)f;
+ return 0;
+-#elif defined(WRAP_SUB);
++#elif defined(WRAP_SUB)
+ /*
+ * Just wrap subkeys, we'll let old PGP complain about DSA keys.
+ * It can't handle subkeys as we have them now.