svn commit: r331873 - in head/net/ulxmlrpcpp: . files

Pawel Pekala pawel at FreeBSD.org
Mon Oct 28 17:23:36 UTC 2013


Author: pawel
Date: Mon Oct 28 17:23:35 2013
New Revision: 331873
URL: http://svnweb.freebsd.org/changeset/ports/331873

Log:
  Fix build on 10-current
  
  PR:		ports/181879
  Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>

Added:
  head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__contrib__ssl_connection.cpp   (contents, props changed)
  head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__ulxr_ssl_connection.cpp   (contents, props changed)
Modified:
  head/net/ulxmlrpcpp/Makefile

Modified: head/net/ulxmlrpcpp/Makefile
==============================================================================
--- head/net/ulxmlrpcpp/Makefile	Mon Oct 28 17:22:15 2013	(r331872)
+++ head/net/ulxmlrpcpp/Makefile	Mon Oct 28 17:23:35 2013	(r331873)
@@ -8,9 +8,9 @@ MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	An ultra lightweight xml-rpc library written in C++
+COMMENT=	Ultra lightweight xml-rpc library written in C++
 
-LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 

Added: head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__contrib__ssl_connection.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__contrib__ssl_connection.cpp	Mon Oct 28 17:23:35 2013	(r331873)
@@ -0,0 +1,14 @@
+--- ulxmlrpcpp/contrib/ssl_connection.cpp.orig
++++ ulxmlrpcpp/contrib/ssl_connection.cpp
+@@ -227,7 +227,11 @@
+ 	if (ssl_ctx != 0)
+     	    SSL_CTX_free(ssl_ctx);
+ 
++#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10000000L
++	const SSL_METHOD *meth = SSLv23_method();
++#else
+ 	SSL_METHOD *meth = SSLv23_method();
++#endif
+ 
+ 	ssl_ctx = SSL_CTX_new (meth);
+ 

Added: head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__ulxr_ssl_connection.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__ulxr_ssl_connection.cpp	Mon Oct 28 17:23:35 2013	(r331873)
@@ -0,0 +1,14 @@
+--- ulxmlrpcpp/ulxr_ssl_connection.cpp.orig
++++ ulxmlrpcpp/ulxr_ssl_connection.cpp
+@@ -95,7 +95,11 @@
+ ULXR_API_IMPL(void) SSLConnection::initializeCTX()
+ {
+   ULXR_TRACE(ULXR_PCHAR("initializeCTX"));
++#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10000000L
++  const SSL_METHOD *meth = SSLv23_method();
++#else
+   SSL_METHOD *meth = SSLv23_method();
++#endif
+   ssl_ctx = SSL_CTX_new (meth);
+   if (!ssl_ctx)
+   {


More information about the svn-ports-all mailing list