pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql57-client mysql57-client: add a patch f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e251caf1a08f
branches:  trunk
changeset: 404607:e251caf1a08f
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Nov 14 16:59:38 2019 +0000

description:
mysql57-client: add a patch for cmake/ssl.cmake taken from mysql56-client

diffstat:

 databases/mysql57-client/distinfo                      |   3 +-
 databases/mysql57-client/patches/patch-cmake_ssl.cmake |  27 ++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r ebd99bf8fdcf -r e251caf1a08f databases/mysql57-client/distinfo
--- a/databases/mysql57-client/distinfo Thu Nov 14 15:26:08 2019 +0000
+++ b/databases/mysql57-client/distinfo Thu Nov 14 16:59:38 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.33 2019/10/31 12:04:22 jperkin Exp $
+$NetBSD: distinfo,v 1.34 2019/11/14 16:59:38 adam Exp $
 
 SHA1 (mysql-5.7.28.tar.gz) = 93d5c460f32576c92f95d9d81938e1d15ece1ae4
 RMD160 (mysql-5.7.28.tar.gz) = 2ab8cddf7479aac8f5eaddd5a23cd4ee62b042d3
@@ -13,6 +13,7 @@
 SHA1 (patch-cmake_os_SunOS.cmake) = b71c3e1fafb48ebbba77c19bb1c31556ebe1ad2a
 SHA1 (patch-cmake_plugin.cmake) = 4480438969e297f67890b1974a86fb88a23d28ed
 SHA1 (patch-cmake_readline.cmake) = fb79ed969240ae2984098f72c2d3fb501154902c
+SHA1 (patch-cmake_ssl.cmake) = 7b76396b74b56d77a6b3046e971b4d394974fa1c
 SHA1 (patch-cmd-line-utils_libedit_chartype.h) = 6b1453df648001ed1fc81190106e15872a69a04c
 SHA1 (patch-cmd-line-utils_libedit_vi.c) = 7c5ce1d07f650815d028e435a59e5d078ec74c2f
 SHA1 (patch-include_CMakeLists.txt) = 944991702f046ea7a5e2b6ea4dc390f17426e55a
diff -r ebd99bf8fdcf -r e251caf1a08f databases/mysql57-client/patches/patch-cmake_ssl.cmake
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql57-client/patches/patch-cmake_ssl.cmake    Thu Nov 14 16:59:38 2019 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-cmake_ssl.cmake,v 1.1 2019/11/14 16:59:38 adam Exp $
+
+Allow OpenSSH versions below 1.0.
+Do not prefer static libraries (or linking will fail).
+
+--- cmake/ssl.cmake.orig       2019-09-27 07:00:15.000000000 +0000
++++ cmake/ssl.cmake
+@@ -152,9 +152,7 @@ MACRO (MYSQL_CHECK_SSL)
+     ENDIF()
+ 
+     # On mac this list is <.dylib;.so;.a>
+-    # We prefer static libraries, so we revert it here.
+     IF (WITH_SSL_PATH)
+-      LIST(REVERSE CMAKE_FIND_LIBRARY_SUFFIXES)
+       MESSAGE(STATUS "suffixes <${CMAKE_FIND_LIBRARY_SUFFIXES}>")
+     ENDIF()
+ 
+@@ -198,8 +196,7 @@ MACRO (MYSQL_CHECK_SSL)
+     ENDIF()
+     IF(OPENSSL_INCLUDE_DIR AND
+        OPENSSL_LIBRARY   AND
+-       CRYPTO_LIBRARY      AND
+-       OPENSSL_MAJOR_VERSION STREQUAL "1"
++       CRYPTO_LIBRARY
+       )
+       SET(OPENSSL_FOUND TRUE)
+     ELSE()



Home | Main Index | Thread Index | Old Index