summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz>2007-01-30 06:53:32 +0000
committerwiz <wiz>2007-01-30 06:53:32 +0000
commitb202f29265c2d38748578c2c21c00371afd0578b (patch)
treeb3c853c9c86a9d734280ccbd54d3f53e1c87fb7c /security
parent2cb81b062e7749c4705f1259f60fc1327994bf09 (diff)
downloadpkgsrc-b202f29265c2d38748578c2c21c00371afd0578b.tar.gz
Put macro argument in parentheses. From Naoto Morishima in PR 35519.
Bump PKGREVISION.
Diffstat (limited to 'security')
-rw-r--r--security/libgcrypt/Makefile4
-rw-r--r--security/libgcrypt/distinfo3
-rw-r--r--security/libgcrypt/patches/patch-ah14
3 files changed, 18 insertions, 3 deletions
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index 148c1214998..c5ff77be6eb 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2006/11/05 17:35:58 joerg Exp $
+# $NetBSD: Makefile,v 1.36 2007/01/30 06:53:32 wiz Exp $
DISTNAME= libgcrypt-1.2.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgcrypt/ \
http://gd.tuwien.ac.at/privacy/gnupg/libgcrypt/
diff --git a/security/libgcrypt/distinfo b/security/libgcrypt/distinfo
index 03cf008b30d..769d4aca51a 100644
--- a/security/libgcrypt/distinfo
+++ b/security/libgcrypt/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2006/09/06 11:41:41 markd Exp $
+$NetBSD: distinfo,v 1.19 2007/01/30 06:53:32 wiz Exp $
SHA1 (libgcrypt-1.2.3.tar.gz) = 9680c8b3ffa20a82c32aa0d8947202c74c82f6eb
RMD160 (libgcrypt-1.2.3.tar.gz) = 6e6290ec4bb89e19ac312e76d0f0a12856bfe3bc
@@ -10,3 +10,4 @@ SHA1 (patch-ad) = f32281612b51c5bb3788cf03c6f5615bdfc0d3e8
SHA1 (patch-ae) = 7285281151403af32837e24b795959899d6a3bcb
SHA1 (patch-af) = f62f9f5b8ebc9e5f3a2570ec609de66e2d77e587
SHA1 (patch-ag) = 02b4ae62ef71f7127861473a2072709b5effecd7
+SHA1 (patch-ah) = 9a6f8a264658c752fa2304df56e5da37ecbceb65
diff --git a/security/libgcrypt/patches/patch-ah b/security/libgcrypt/patches/patch-ah
new file mode 100644
index 00000000000..784f91e5f87
--- /dev/null
+++ b/security/libgcrypt/patches/patch-ah
@@ -0,0 +1,14 @@
+$NetBSD: patch-ah,v 1.1 2007/01/30 06:53:32 wiz Exp $
+
+--- src/secmem.h.orig 2005-07-29 13:45:42.000000000 +0000
++++ src/secmem.h
+@@ -32,7 +32,7 @@ unsigned _gcry_secmem_get_flags(void) GC
+ int _gcry_private_is_secure (const void *p) GCC_ATTR_PURE;
+
+ /* Flags for _gcry_secmem_{set,get}_flags. */
+-#define GCRY_SECMEM_FLAG_NO_WARNING 1 << 0
+-#define GCRY_SECMEM_FLAG_SUSPEND_WARNING 1 << 1
++#define GCRY_SECMEM_FLAG_NO_WARNING (1 << 0)
++#define GCRY_SECMEM_FLAG_SUSPEND_WARNING (1 << 1)
+
+ #endif /* G10_SECMEM_H */