diff options
author | hasso <hasso@pkgsrc.org> | 2009-03-11 21:18:35 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-03-11 21:18:35 +0000 |
commit | a7139408f3b05d9dbd06e645b62b4df32129764f (patch) | |
tree | a49b4adb36d2c2f004e4920b2e2e746fa2d1ad9f /chat/libmsn | |
parent | 536eb98ea7b03065ca7ac70742f6b4617a124a4e (diff) | |
download | pkgsrc-a7139408f3b05d9dbd06e645b62b4df32129764f.tar.gz |
Fix build with slightly older (builtin) openssl versions.
Diffstat (limited to 'chat/libmsn')
-rw-r--r-- | chat/libmsn/distinfo | 4 | ||||
-rw-r--r-- | chat/libmsn/patches/patch-ab | 13 |
2 files changed, 10 insertions, 7 deletions
diff --git a/chat/libmsn/distinfo b/chat/libmsn/distinfo index 1c3c20ba153..ff645fdb856 100644 --- a/chat/libmsn/distinfo +++ b/chat/libmsn/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2009/01/10 08:56:39 markd Exp $ +$NetBSD: distinfo,v 1.2 2009/03/11 21:18:35 hasso Exp $ SHA1 (libmsn-4.0-beta2.tar.bz2) = 8ced56c64c6132b5525d8c19e5a43bab08bca2f4 RMD160 (libmsn-4.0-beta2.tar.bz2) = 8a4f6faa3f22e87b4807c688b11051ca0c7d84c1 Size (libmsn-4.0-beta2.tar.bz2) = 155319 bytes SHA1 (patch-aa) = 25b9d7f0018bd20ec664c62981aa2b51edfeebae -SHA1 (patch-ab) = e3f3d40ebc1f1d86f24e887711217321e90630e1 +SHA1 (patch-ab) = ef8cb8597f30f427d84d3fa6d23688e79f978514 diff --git a/chat/libmsn/patches/patch-ab b/chat/libmsn/patches/patch-ab index 1277eac9a93..837a5c224cc 100644 --- a/chat/libmsn/patches/patch-ab +++ b/chat/libmsn/patches/patch-ab @@ -1,15 +1,18 @@ -$NetBSD: patch-ab,v 1.1.1.1 2009/01/10 08:56:39 markd Exp $ +$NetBSD: patch-ab,v 1.2 2009/03/11 21:18:35 hasso Exp $ update for modern openssl. ---- msntest/msntest.cpp.orig 2008-11-17 06:17:58.000000000 +1300 -+++ msntest/msntest.cpp -@@ -258,7 +258,7 @@ int main() +--- msntest/msntest.cpp.orig 2008-11-16 19:17:58 +0200 ++++ msntest/msntest.cpp 2009-03-11 22:59:59 +0200 +@@ -258,7 +258,11 @@ int main() if(mySocketsSsl[i].isSSL && !mySocketsSsl[i].isConnected) { BIO *bio_socket_new; -- SSL_METHOD *meth=NULL; ++#if OPENSSL_VERSION_NUMBER < 0x00909000L + SSL_METHOD *meth=NULL; ++#else + const SSL_METHOD *meth=NULL; ++#endif meth=SSLv23_client_method(); SSLeay_add_ssl_algorithms(); mySocketsSsl[i].ctx = SSL_CTX_new(meth); |