summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2009-09-02 11:43:30 +0000
committerplunky <plunky@pkgsrc.org>2009-09-02 11:43:30 +0000
commitf5e526e9c7b7d8b51f00f2ea0907723cc3826965 (patch)
tree0fd1d029226bf734db5e2848af53af9f2e0bf51b /security
parentdce7fe06b3e6128b41c47216aa70294cf557b29d (diff)
downloadpkgsrc-f5e526e9c7b7d8b51f00f2ea0907723cc3826965.tar.gz
help this to build on modern OpenSSL versions (as included in NetBSD-current)
by redefining BLOCK->osslBLOCK as was done in security/p5-Net-SSLeay
Diffstat (limited to 'security')
-rw-r--r--security/p5-Crypt-SSLeay/distinfo3
-rw-r--r--security/p5-Crypt-SSLeay/patches/patch-aa14
2 files changed, 16 insertions, 1 deletions
diff --git a/security/p5-Crypt-SSLeay/distinfo b/security/p5-Crypt-SSLeay/distinfo
index 151b716e062..698ede4b3f9 100644
--- a/security/p5-Crypt-SSLeay/distinfo
+++ b/security/p5-Crypt-SSLeay/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2007/11/29 14:16:37 wiz Exp $
+$NetBSD: distinfo,v 1.8 2009/09/02 11:43:30 plunky Exp $
SHA1 (Crypt-SSLeay-0.57.tar.gz) = 6e83137fac79a37346a5f862b6d6cf3fdeefe721
RMD160 (Crypt-SSLeay-0.57.tar.gz) = 81b9f9da6a74f39e14bce176249b3c30f667912d
Size (Crypt-SSLeay-0.57.tar.gz) = 122980 bytes
+SHA1 (patch-aa) = ada70c84a3dce44871d9c5b1846c488a2e038606
diff --git a/security/p5-Crypt-SSLeay/patches/patch-aa b/security/p5-Crypt-SSLeay/patches/patch-aa
new file mode 100644
index 00000000000..af50f407eb4
--- /dev/null
+++ b/security/p5-Crypt-SSLeay/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.4 2009/09/02 11:43:31 plunky Exp $
+
+add a workaround for openssl versions that redefine the BLOCK type
+
+--- SSLeay.xs.orig 2009-09-02 12:23:55.000000000 +0100
++++ SSLeay.xs
+@@ -18,6 +18,7 @@ extern "C" {
+ #define PERL5 1
+ #endif
+
++#define BLOCK osslBLOCK
+ /* ssl.h or openssl/ssl.h is included from the crypt_ssleay_version
+ * file which is written when building with perl Makefile.PL
+ * #include "ssl.h"