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:
parent
019bc116c7
commit
1725714019
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428323
@ -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
|
||||
|
11
devel/commoncpp/files/patch-src_ssl.cpp
Normal file
11
devel/commoncpp/files/patch-src_ssl.cpp
Normal 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;
|
Loading…
Reference in New Issue
Block a user