From d45e3ac22393044e4c096fc57869d1c30d257ef5 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 9 Feb 2009 18:54:05 +0000 Subject: Fix build with newer OpenSSL. --- benchmarks/postal/distinfo | 3 ++- benchmarks/postal/patches/patch-ad | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 benchmarks/postal/patches/patch-ad (limited to 'benchmarks/postal') 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; -- cgit v1.2.3