summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/libmsn/Pkgfile2
-rw-r--r--extra/libmsn/openssl1.patch17
2 files changed, 1 insertions, 18 deletions
diff --git a/extra/libmsn/Pkgfile b/extra/libmsn/Pkgfile
index 0d1f29812..e3efd8d22 100644
--- a/extra/libmsn/Pkgfile
+++ b/extra/libmsn/Pkgfile
@@ -8,7 +8,7 @@ name=libmsn
version=4.1
release=1
source=(http://freefr.dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2 \
- openssl1.patch)
+ http://nutyx.meticul.eu/files/patchs/$name/openssl1.patch)
build() {
patch -Np0 -i $SRC/openssl1.patch
diff --git a/extra/libmsn/openssl1.patch b/extra/libmsn/openssl1.patch
deleted file mode 100644
index 0ff7de898..000000000
--- a/extra/libmsn/openssl1.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- libmsn-4.1/msntest/msntest.cpp~ 2010-04-01 15:05:13.248056050 +0200
-+++ libmsn-4.1/msntest/msntest.cpp 2010-04-01 15:07:18.938878993 +0200
-@@ -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);