Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2013 17:23:35 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331873 - in head/net/ulxmlrpcpp: . files
Message-ID:  <201310281723.r9SHNZSg050458@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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)
+   {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310281723.r9SHNZSg050458>