pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mysql56-client Backport section from MySQL 5...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3696448b8eba
branches: trunk
changeset: 355986:3696448b8eba
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Dec 16 17:55:48 2016 +0000
description:
Backport section from MySQL 5.7 to fix SunOS/gcc. PR#51725
diffstat:
databases/mysql56-client/distinfo | 3 +-
databases/mysql56-client/patches/patch-cmake_os_SunOS.cmake | 21 +++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (42 lines):
diff -r 11af730e6c62 -r 3696448b8eba databases/mysql56-client/distinfo
--- a/databases/mysql56-client/distinfo Fri Dec 16 16:27:23 2016 +0000
+++ b/databases/mysql56-client/distinfo Fri Dec 16 17:55:48 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2016/12/12 19:21:33 adam Exp $
+$NetBSD: distinfo,v 1.41 2016/12/16 17:55:48 jperkin Exp $
SHA1 (mysql-5.6.35.tar.gz) = a971f01d711addd87c860fb534d51139a73d5319
RMD160 (mysql-5.6.35.tar.gz) = 3a54baba27b940b5c18787a6d213e1cc6530ea28
@@ -14,6 +14,7 @@
SHA1 (patch-client_sql_string.h) = f26aff4ce4cf6dfef44c85ef95120331ca8fef52
SHA1 (patch-cmake_dtrace.cmake) = d953fdf976f3a7e7f0c2c16a9a2d2615f2777396
SHA1 (patch-cmake_libutils.cmake) = c3e5ab66d2bef43dc2308369e27550553e0f5356
+SHA1 (patch-cmake_os_SunOS.cmake) = 1ef310e6395653be3219044fc2ea58977a1b0ce3
SHA1 (patch-cmake_plugin.cmake) = 03e7a7debd61e870bd76d5c5b253a620662b3595
SHA1 (patch-cmake_readline.cmake) = 6bec6ca87b45c739d0614493477a18bb7c56d981
SHA1 (patch-cmake_ssl.cmake) = a5a25b00010c6586e5a3e099975ddabe369d4247
diff -r 11af730e6c62 -r 3696448b8eba databases/mysql56-client/patches/patch-cmake_os_SunOS.cmake
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql56-client/patches/patch-cmake_os_SunOS.cmake Fri Dec 16 17:55:48 2016 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-cmake_os_SunOS.cmake,v 1.1 2016/12/16 17:55:48 jperkin Exp $
+
+Backport section from MySQL 5.7 to fix SunOS/gcc.
+
+--- cmake/os/SunOS.cmake.orig 2016-11-28 13:36:22.000000000 +0000
++++ cmake/os/SunOS.cmake
+@@ -19,7 +19,13 @@ INCLUDE(CheckCSourceCompiles)
+
+ # We require SunStudio 12u2 (CC 5.11)
+ IF(NOT FORCE_UNSUPPORTED_COMPILER)
+- IF(CMAKE_C_COMPILER_ID MATCHES "SunPro")
++ IF(CMAKE_COMPILER_IS_GNUCC)
++ EXECUTE_PROCESS(COMMAND ${CMAKE_C_COMPILER} -dumpversion
++ OUTPUT_VARIABLE GCC_VERSION)
++ IF(GCC_VERSION VERSION_LESS 4.4)
++ MESSAGE(FATAL_ERROR "GCC 4.4 or newer is required!")
++ ENDIF()
++ ELSEIF(CMAKE_C_COMPILER_ID MATCHES "SunPro")
+ # CC -V yields
+ # CC: Studio 12.5 Sun C++ 5.14 SunOS_sparc Dodona 2016/04/04
+ # CC: Sun C++ 5.13 SunOS_sparc Beta 2014/03/11
Home |
Main Index |
Thread Index |
Old Index