svn commit: r482466 - branches/2018Q4/devel/xmltooling/files
Antoine Brodin
antoine at FreeBSD.org
Sat Oct 20 05:40:30 UTC 2018
Author: antoine
Date: Sat Oct 20 05:40:29 2018
New Revision: 482466
URL: https://svnweb.freebsd.org/changeset/ports/482466
Log:
MFH: r481884
Fix build problem with OpenSSL-1.1.1
Added:
branches/2018Q4/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp
- copied unchanged from r481884, head/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp
Modified:
Directory Properties:
branches/2018Q4/ (props changed)
Copied: branches/2018Q4/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp (from r481884, head/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2018Q4/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp Sat Oct 20 05:40:29 2018 (r482466, copy of r481884, head/devel/xmltooling/files/patch-xmltooling__security__impl__OpenSSLSupport.cpp)
@@ -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
+ }
More information about the svn-ports-branches
mailing list