Index: head/net/easysoap/Makefile =================================================================== --- head/net/easysoap/Makefile (revision 546927) +++ head/net/easysoap/Makefile (revision 546928) @@ -1,34 +1,24 @@ # Created by: Gabriel Ambuehl # $FreeBSD$ PORTNAME= easysoap PORTVERSION= 0.8.0 PORTREVISION= 6 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/SWANSONG DISTNAME= EasySoap++-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= C++ SOAP Library based on expat +COMMENT= C++ SOAP library based on Expat LICENSE= LGPL21 LIB_DEPENDS= libexpat.so:textproc/expat2 -USES= libtool ssl +USES= libtool localbase ssl GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_lib_stdcpp_main=no INSTALL_TARGET= install-strip USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -.include - -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_12= use of undeclared identifier 'SSLv2_client_method' -BROKEN_FreeBSD_13= use of undeclared identifier 'SSLv2_client_method' -.endif - -.include +.include Index: head/net/easysoap/files/patch-src__SOAPSSLContext.cpp =================================================================== --- head/net/easysoap/files/patch-src__SOAPSSLContext.cpp (revision 546927) +++ head/net/easysoap/files/patch-src__SOAPSSLContext.cpp (revision 546928) @@ -1,28 +1,28 @@ --- src/SOAPSSLContext.cpp.orig 2005-09-24 07:24:24 UTC +++ src/SOAPSSLContext.cpp @@ -142,17 +142,21 @@ SSL_METHOD* SOAPSSLContext::getMethod(Me switch(methodType) { -+#ifndef OPENSSL_NO_SSL2 ++#if OPENSSL_VERSION_NUMBER < 0x10100000L && !defined(OPENSSL_NO_SSL2) case SOAPSSLContext::SSL_v2: - method = SSLv2_client_method(); + method = const_cast(SSLv2_client_method()); break; +#endif case SOAPSSLContext::SSL_v23: - method = SSLv23_client_method(); + method = const_cast(SSLv23_client_method()); break; +#ifndef OPENSSL_NO_SSL3_METHOD case SOAPSSLContext::SSL_v3: - method = SSLv3_client_method(); + method = const_cast(SSLv3_client_method()); break; +#endif case SOAPSSLContext::TLS_v1: - method = TLSv1_client_method(); + method = const_cast(TLSv1_client_method()); break; default: break;