From owner-svn-ports-head@freebsd.org Sat Sep 21 15:22:07 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C1D7127574; Sat, 21 Sep 2019 15:22:07 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46bDpR3Bpqz4dqx; Sat, 21 Sep 2019 15:22:07 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 37AAE18242; Sat, 21 Sep 2019 15:22:07 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8LFM79L051580; Sat, 21 Sep 2019 15:22:07 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8LFM6D8051578; Sat, 21 Sep 2019 15:22:06 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201909211522.x8LFM6D8051578@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sat, 21 Sep 2019 15:22:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512511 - in head/net/ulxmlrpcpp: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/net/ulxmlrpcpp: . files X-SVN-Commit-Revision: 512511 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Sep 2019 15:22:07 -0000 Author: pkubaj Date: Sat Sep 21 15:22:06 2019 New Revision: 512511 URL: https://svnweb.freebsd.org/changeset/ports/512511 Log: net/ulxmlrpcpp: fix build on GCC architectures Use new GCC because of: ulxr_value.cpp:895: error: 'snprintf' is not a member of 'std' Also add include cstring because of: ulxr_ssl_connection.cpp: In function 'int ulxr::password_cb(char*, int, int, void*)': ulxr_ssl_connection.cpp:63:3: error: 'strcpy' was not declared in this scope 63 | strcpy(buf, pass.c_str()); | ^~~~~~ Approved by: linimon (mentor) Differential Revision: https://reviews.freebsd.org/D21720 Modified: head/net/ulxmlrpcpp/Makefile head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__contrib__ssl_connection.cpp head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__ulxr_ssl_connection.cpp Modified: head/net/ulxmlrpcpp/Makefile ============================================================================== --- head/net/ulxmlrpcpp/Makefile Sat Sep 21 15:21:11 2019 (r512510) +++ head/net/ulxmlrpcpp/Makefile Sat Sep 21 15:22:06 2019 (r512511) @@ -15,7 +15,7 @@ LIB_DEPENDS= libexpat.so:textproc/expat2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= tar:bzip2 pathfix iconv libtool ssl +USES= compiler:c++11-lang tar:bzip2 pathfix iconv libtool ssl GNU_CONFIGURE= yes CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" INSTALL_TARGET= install-strip Modified: head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__contrib__ssl_connection.cpp ============================================================================== --- head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__contrib__ssl_connection.cpp Sat Sep 21 15:21:11 2019 (r512510) +++ head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__contrib__ssl_connection.cpp Sat Sep 21 15:22:06 2019 (r512511) @@ -1,6 +1,14 @@ ---- ulxmlrpcpp/contrib/ssl_connection.cpp.orig +--- ulxmlrpcpp/contrib/ssl_connection.cpp.orig 2009-08-12 14:37:53 UTC +++ ulxmlrpcpp/contrib/ssl_connection.cpp -@@ -227,7 +227,11 @@ +@@ -40,6 +40,7 @@ + //STL + #include + #include ++#include + + #include + +@@ -227,7 +228,11 @@ ULXR_API_IMPL(void) SSLConnection::initializeCTX() if (ssl_ctx != 0) SSL_CTX_free(ssl_ctx); Modified: head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__ulxr_ssl_connection.cpp ============================================================================== --- head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__ulxr_ssl_connection.cpp Sat Sep 21 15:21:11 2019 (r512510) +++ head/net/ulxmlrpcpp/files/patch-ulxmlrpcpp__ulxr_ssl_connection.cpp Sat Sep 21 15:22:06 2019 (r512511) @@ -1,6 +1,14 @@ ---- ulxmlrpcpp/ulxr_ssl_connection.cpp.orig +--- ulxmlrpcpp/ulxr_ssl_connection.cpp.orig 2009-08-12 14:38:22 UTC +++ ulxmlrpcpp/ulxr_ssl_connection.cpp -@@ -95,7 +95,11 @@ +@@ -40,6 +40,7 @@ + #include + #include + #include ++#include + + + static int s_server_session_id_context = 1; +@@ -95,7 +96,11 @@ ULXR_API_IMPL(void) ULXR_API_IMPL(void) SSLConnection::initializeCTX() { ULXR_TRACE(ULXR_PCHAR("initializeCTX"));