1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

devel/commoncpp: Fix build without SSLv3

- Add patch to fix build without SSLv3
  - Register SSL dependency USES= ssl

Approved by:	SSL blanket
This commit is contained in:
Bernard Spil 2016-12-10 20:39:32 +00:00
parent 019bc116c7
commit 1725714019
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428323
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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;