From a7adc8b7171f1e74395feb883890592a403f71a3 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 26 Apr 2014 02:36:52 +0000 Subject: - Fix build on -current - Add LICENSE - Stage support PR: 187762 Submitted by: ports fury --- net/easysoap/files/patch-src__SOAPSSLContext.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 net/easysoap/files/patch-src__SOAPSSLContext.cpp (limited to 'net/easysoap/files/patch-src__SOAPSSLContext.cpp') diff --git a/net/easysoap/files/patch-src__SOAPSSLContext.cpp b/net/easysoap/files/patch-src__SOAPSSLContext.cpp new file mode 100644 index 000000000000..3267d2830360 --- /dev/null +++ b/net/easysoap/files/patch-src__SOAPSSLContext.cpp @@ -0,0 +1,23 @@ +--- src/SOAPSSLContext.cpp.orig ++++ src/SOAPSSLContext.cpp +@@ -143,16 +143,16 @@ + switch(methodType) + { + case SOAPSSLContext::SSL_v2: +- method = SSLv2_client_method(); ++ method = const_cast(SSLv2_client_method()); + break; + case SOAPSSLContext::SSL_v23: +- method = SSLv23_client_method(); ++ method = const_cast(SSLv23_client_method()); + break; + case SOAPSSLContext::SSL_v3: +- method = SSLv3_client_method(); ++ method = const_cast(SSLv3_client_method()); + break; + case SOAPSSLContext::TLS_v1: +- method = TLSv1_client_method(); ++ method = const_cast(TLSv1_client_method()); + break; + default: + break; -- cgit v1.2.3