From owner-svn-ports-all@freebsd.org Fri Oct 12 08:37:15 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8962B10B0FD3; Fri, 12 Oct 2018 08:37:15 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 338517846E; Fri, 12 Oct 2018 08:37:15 +0000 (UTC) (envelope-from girgen@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 1F5A91CF0B; Fri, 12 Oct 2018 08:37:15 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9C8bEsm083526; Fri, 12 Oct 2018 08:37:14 GMT (envelope-from girgen@FreeBSD.org) Received: (from girgen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9C8bEP6083525; Fri, 12 Oct 2018 08:37:14 GMT (envelope-from girgen@FreeBSD.org) Message-Id: <201810120837.w9C8bEP6083525@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: girgen set sender to girgen@FreeBSD.org using -f From: Palle Girgensohn Date: Fri, 12 Oct 2018 08:37:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r481884 - head/devel/xmltooling/files X-SVN-Group: ports-head X-SVN-Commit-Author: girgen X-SVN-Commit-Paths: head/devel/xmltooling/files X-SVN-Commit-Revision: 481884 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2018 08:37:15 -0000 Author: girgen Date: Fri Oct 12 08:37:14 2018 New Revision: 481884 URL: https://svnweb.freebsd.org/changeset/ports/481884 Log: Fix build problem with OpenSSL-1.1.1 Added: head/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp (contents, props changed) Added: head/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp Fri Oct 12 08:37:14 2018 (r481884) @@ -0,0 +1,28 @@ +--- xmltooling/security/impl/OpenSSLSupport.cpp.orig 2018-07-10 01:00:14 UTC ++++ xmltooling/security/impl/OpenSSLSupport.cpp +@@ -91,6 +91,7 @@ const BIGNUM *xmltooling::DSA_get0_privk + #endif + } + ++#if (OPENSSL_VERSION_NUMBER < 0x1010100fL) + const BIGNUM *xmltooling::RSA_get0_n(const RSA *rsa) + { + #if (OPENSSL_VERSION_NUMBER < 0x10100000L) +@@ -123,3 +124,4 @@ const BIGNUM *xmltooling::RSA_get0_d(con + return result; + #endif + } ++#endif +--- xmltooling/security/impl/OpenSSLSupport.h.bak 2018-10-12 08:58:16.782132000 +0200 ++++ xmltooling/security/impl/OpenSSLSupport.h 2018-10-12 08:59:14.767210000 +0200 +@@ -75,8 +75,9 @@ + const BIGNUM *DSA_get0_pubkey(const DSA *dsa); + const BIGNUM *DSA_get0_privkey(const DSA *dsa); + ++#if (OPENSSL_VERSION_NUMBER < 0x1010100fL) + const BIGNUM *RSA_get0_n(const RSA *rsa); + const BIGNUM *RSA_get0_d(const RSA *rsa); + const BIGNUM *RSA_get0_e(const RSA *rsa); +- ++#endif + }