[71681] trunk/dports/net/libmsn
ryandesign at macports.org
ryandesign at macports.org
Sun Sep 19 12:39:31 PDT 2010
Revision: 71681
http://trac.macports.org/changeset/71681
Author: ryandesign at macports.org
Date: 2010-09-19 12:39:29 -0700 (Sun, 19 Sep 2010)
Log Message:
-----------
libmsn: update to 4.1, use cmake portgroup, add openssl dependency, update homepage; see #26533
Modified Paths:
--------------
trunk/dports/net/libmsn/Portfile
Added Paths:
-----------
trunk/dports/net/libmsn/files/
trunk/dports/net/libmsn/files/patch-msntest.cpp.diff
Modified: trunk/dports/net/libmsn/Portfile
===================================================================
--- trunk/dports/net/libmsn/Portfile 2010-09-19 19:34:22 UTC (rev 71680)
+++ trunk/dports/net/libmsn/Portfile 2010-09-19 19:39:29 UTC (rev 71681)
@@ -1,8 +1,10 @@
# $Id$
PortSystem 1.0
+PortGroup cmake 1.0
+
name libmsn
-version 3.2
+version 4.1
categories net
maintainers nomaintainer
description MSN Messenger library
@@ -10,7 +12,14 @@
libmsn is a C++ library for Microsoft's MSN Messenger service. \
It provides a high-level interface that allows an application \
to access instant messaging features with ease.
-homepage http://libmsn.bdash.net.nz/
+homepage http://sourceforge.net/projects/libmsn/
platforms darwin
master_sites sourceforge
-checksums md5 6f931cd98522cecae823072f0e346879
+
+checksums md5 769d3cf0e5625263fbc23321c1ddfcb0
+
+use_bzip2 yes
+
+depends_lib port:openssl
+
+patchfiles patch-msntest.cpp.diff
Added: trunk/dports/net/libmsn/files/patch-msntest.cpp.diff
===================================================================
--- trunk/dports/net/libmsn/files/patch-msntest.cpp.diff (rev 0)
+++ trunk/dports/net/libmsn/files/patch-msntest.cpp.diff 2010-09-19 19:39:29 UTC (rev 71681)
@@ -0,0 +1,18 @@
+--- msntest/msntest.cpp (revision 116)
++++ msntest/msntest.cpp (revision 120)
+@@ -259,7 +259,13 @@
+ if(mySocketsSsl[i].isSSL && !mySocketsSsl[i].isConnected)
+ {
+ BIO *bio_socket_new;
+- SSL_METHOD *meth=NULL;
++
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++ const SSL_METHOD *meth=NULL;
++#else
++ SSL_METHOD *meth=NULL;
++#endif
++
+ meth=SSLv23_client_method();
+ SSLeay_add_ssl_algorithms();
+ mySocketsSsl[i].ctx = SSL_CTX_new(meth);
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100919/7ade6c61/attachment.html>
More information about the macports-changes
mailing list