summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/commoncpp/Makefile2
-rw-r--r--devel/commoncpp/files/patch-src_ssl.cpp11
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/commoncpp/Makefile b/devel/commoncpp/Makefile
index 90733f9e2637..63c0a674f8da 100644
--- a/devel/commoncpp/Makefile
+++ b/devel/commoncpp/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= GNU project portable class framework for C++
USE_LDCONFIG= yes
-USES= gmake libtool pathfix
+USES= gmake libtool pathfix ssl
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_DOXYGEN=no
INSTALL_TARGET= install-strip
diff --git a/devel/commoncpp/files/patch-src_ssl.cpp b/devel/commoncpp/files/patch-src_ssl.cpp
new file mode 100644
index 000000000000..8e93a6e0a61c
--- /dev/null
+++ b/devel/commoncpp/files/patch-src_ssl.cpp
@@ -0,0 +1,11 @@
+--- src/ssl.cpp.orig 2010-11-01 00:42:51 UTC
++++ src/ssl.cpp
+@@ -386,7 +386,7 @@ bool SSLStream::getSession(void)
+ if(so == INVALID_SOCKET)
+ return false;
+
+- ctx = SSL_CTX_new(SSLv3_client_method());
++ ctx = SSL_CTX_new(SSL23_client_method());
+ if(!ctx) {
+ SSL_CTX_free(ctx);
+ return false;