summaryrefslogtreecommitdiff
path: root/databases/mysql80-client/files/patch-cmake_os_FreeBSD.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql80-client/files/patch-cmake_os_FreeBSD.cmake')
-rw-r--r--databases/mysql80-client/files/patch-cmake_os_FreeBSD.cmake17
1 files changed, 5 insertions, 12 deletions
diff --git a/databases/mysql80-client/files/patch-cmake_os_FreeBSD.cmake b/databases/mysql80-client/files/patch-cmake_os_FreeBSD.cmake
index e2f70f193360..2c6ce17ab9bf 100644
--- a/databases/mysql80-client/files/patch-cmake_os_FreeBSD.cmake
+++ b/databases/mysql80-client/files/patch-cmake_os_FreeBSD.cmake
@@ -1,8 +1,8 @@
---- cmake/os/FreeBSD.cmake.orig 2018-10-04 05:48:22 UTC
+--- cmake/os/FreeBSD.cmake.orig 2019-06-25 10:23:30 UTC
+++ cmake/os/FreeBSD.cmake
-@@ -30,12 +30,26 @@ IF(NOT FORCE_UNSUPPORTED_COMPILER)
- IF(NOT HAVE_SUPPORTED_CLANG_VERSION)
- MESSAGE(FATAL_ERROR "Clang 3.3 or newer is required!")
+@@ -45,8 +45,20 @@ IF(NOT FORCE_UNSUPPORTED_COMPILER)
+ MESSAGE(FATAL_ERROR
+ "GCC 5.3 or newer is required (-dumpversion says ${GCC_VERSION})")
ENDIF()
- ELSE()
- MESSAGE(FATAL_ERROR "Unsupported compiler!")
@@ -22,11 +22,4 @@
+ ENDIF()
ENDIF()
ENDIF()
-
- # Should not be needed any more, but kept for easy resurrection if needed
- # #Legacy option, maybe not needed anymore , taken as is from autotools build
- # ADD_DEFINITIONS(-DNET_RETRY_COUNT=1000000)
--
-+# For GCC maybe it's also good idea to use
-+# ADD_DEFINITIONS(-D_GNU_SOURCE)
-+
+