svn commit: r428323 - in head/devel/commoncpp: . files
Bernard Spil
brnrd at FreeBSD.org
Sat Dec 10 20:39:33 UTC 2016
Author: brnrd
Date: Sat Dec 10 20:39:32 2016
New Revision: 428323
URL: https://svnweb.freebsd.org/changeset/ports/428323
Log:
devel/commoncpp: Fix build without SSLv3
- Add patch to fix build without SSLv3
- Register SSL dependency USES= ssl
Approved by: SSL blanket
Added:
head/devel/commoncpp/files/patch-src_ssl.cpp (contents, props changed)
Modified:
head/devel/commoncpp/Makefile
Modified: head/devel/commoncpp/Makefile
==============================================================================
--- head/devel/commoncpp/Makefile Sat Dec 10 20:18:38 2016 (r428322)
+++ head/devel/commoncpp/Makefile Sat Dec 10 20:39:32 2016 (r428323)
@@ -13,7 +13,7 @@ MAINTAINER= acm at 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
Added: head/devel/commoncpp/files/patch-src_ssl.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/commoncpp/files/patch-src_ssl.cpp Sat Dec 10 20:39:32 2016 (r428323)
@@ -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;
More information about the svn-ports-head
mailing list