pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/libmsn Fix build with slightly older (builtin) op...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88bf1564c523
branches:  trunk
changeset: 555901:88bf1564c523
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Wed Mar 11 21:18:35 2009 +0000

description:
Fix build with slightly older (builtin) openssl versions.

diffstat:

 chat/libmsn/distinfo         |   4 ++--
 chat/libmsn/patches/patch-ab |  13 ++++++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (40 lines):

diff -r 8ac2f3e16e18 -r 88bf1564c523 chat/libmsn/distinfo
--- a/chat/libmsn/distinfo      Wed Mar 11 20:01:43 2009 +0000
+++ b/chat/libmsn/distinfo      Wed Mar 11 21:18:35 2009 +0000
@@ -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 -r 8ac2f3e16e18 -r 88bf1564c523 chat/libmsn/patches/patch-ab
--- a/chat/libmsn/patches/patch-ab      Wed Mar 11 20:01:43 2009 +0000
+++ b/chat/libmsn/patches/patch-ab      Wed Mar 11 21:18:35 2009 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index