summaryrefslogtreecommitdiff
path: root/benchmarks/postal
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-09 18:54:05 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-09 18:54:05 +0000
commitd45e3ac22393044e4c096fc57869d1c30d257ef5 (patch)
treeb3df83fbd3bff7172ad8c71fc05348783ba21824 /benchmarks/postal
parentc5ac4d61a10c1bbb8bd341741741609a774f414f (diff)
downloadpkgsrc-d45e3ac22393044e4c096fc57869d1c30d257ef5.tar.gz
Fix build with newer OpenSSL.
Diffstat (limited to 'benchmarks/postal')
-rw-r--r--benchmarks/postal/distinfo3
-rw-r--r--benchmarks/postal/patches/patch-ad16
2 files changed, 18 insertions, 1 deletions
diff --git a/benchmarks/postal/distinfo b/benchmarks/postal/distinfo
index bd1ac262602..c970b016bbb 100644
--- a/benchmarks/postal/distinfo
+++ b/benchmarks/postal/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2008/06/12 02:14:15 joerg Exp $
+$NetBSD: distinfo,v 1.5 2009/02/09 18:54:05 joerg Exp $
SHA1 (postal-0.62.tgz) = 6379ac223964921963389c8c600a1ba4b24a6ab3
RMD160 (postal-0.62.tgz) = 694800444ff33c7c64c5b7915ef5438fdb3605f3
@@ -6,3 +6,4 @@ Size (postal-0.62.tgz) = 84506 bytes
SHA1 (patch-aa) = ec272095d02d2b8cde4e1f798ac8bfb3212d7874
SHA1 (patch-ab) = 3a14324d2203fc2f6e0e8028f937906c7d95e7e0
SHA1 (patch-ac) = 7f888c21b98ffe648bc9d2b055166578cf975ef5
+SHA1 (patch-ad) = 03483392e08df509003e87f513d5dabd95d1b2ea
diff --git a/benchmarks/postal/patches/patch-ad b/benchmarks/postal/patches/patch-ad
new file mode 100644
index 00000000000..f3a2c02dbad
--- /dev/null
+++ b/benchmarks/postal/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2009/02/09 18:54:05 joerg Exp $
+
+--- tcp.h.orig 2009-02-09 19:48:16.000000000 +0100
++++ tcp.h
+@@ -90,7 +90,11 @@ private:
+ address *m_sourceAddr;
+ Logit *m_debug; // debug file management object (NULL if no debugging)
+ #ifdef USE_SSL
++#if OPENSSL_VERSION_NUMBER < 0x00909000L
+ SSL_METHOD *m_sslMeth;
++#else
++ const SSL_METHOD *m_sslMeth;
++#endif
+ SSL_CTX* m_sslCtx;
+ SSL *m_ssl;
+ bool m_isTLS;