Ticket #46766: mysql56-openssl_1.0.2.patch
File mysql56-openssl_1.0.2.patch, 1.6 KB (added by asedeno@…, 10 years ago) |
---|
-
dports/databases/mysql56/Portfile
39 39 patchfiles-append patch-scripts-mysql_install_db.pl.in.diff \ 40 40 patch-scripts-mysql_secure_installation.pl.in.diff 41 41 42 # Patch cmake/ssl.cmake to be compatible with OpenSSL 1.0.2. 43 # http://bugs.mysql.com/bug.php?id=75622 44 patchfiles-append patch-cmake-ssl.cmake.diff 45 42 46 if { (![variant_isset universal] && ${build_arch} eq "i386") || ([variant_isset universal] && [lsearch ${universal_archs} i386] != -1) } { 43 47 # Disallow clang versions older than the clang version which caused the problem 44 48 #compiler.blacklist {clang < 425} -
dports/databases/mysql56/files/patch-cmake-ssl.cmake.diff
1 --- a/cmake/ssl.cmake 2015-01-19 08:48:32.000000000 -0500 2 +++ b/cmake/ssl.cmake 2015-02-11 00:41:55.000000000 -0500 3 @@ -166,7 +166,7 @@ 4 # Encoded as MNNFFPPS: major minor fix patch status 5 FILE(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h" 6 OPENSSL_VERSION_NUMBER 7 - REGEX "^#define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9].*" 8 + REGEX "^#[\t ]+define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x[0-9].*" 9 ) 10 STRING(REGEX REPLACE 11 "^.*OPENSSL_VERSION_NUMBER[\t ]+0x([0-9]).*$" "\\1"