summaryrefslogtreecommitdiff
path: root/databases/mysql81-server/files/patch-cmake_os_FreeBSD.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql81-server/files/patch-cmake_os_FreeBSD.cmake')
-rw-r--r--databases/mysql81-server/files/patch-cmake_os_FreeBSD.cmake25
1 files changed, 0 insertions, 25 deletions
diff --git a/databases/mysql81-server/files/patch-cmake_os_FreeBSD.cmake b/databases/mysql81-server/files/patch-cmake_os_FreeBSD.cmake
deleted file mode 100644
index 90629de01287..000000000000
--- a/databases/mysql81-server/files/patch-cmake_os_FreeBSD.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
---- cmake/os/FreeBSD.cmake.orig 2021-12-17 16:07:27 UTC
-+++ cmake/os/FreeBSD.cmake
-@@ -48,8 +48,20 @@ IF(NOT FORCE_UNSUPPORTED_COMPILER)
- IF(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.1)
- MESSAGE(FATAL_ERROR "GCC 7.1 or newer is required")
- ENDIF()
-- ELSE()
-- MESSAGE(FATAL_ERROR "Unsupported compiler!")
-+ CHECK_C_SOURCE_RUNS("
-+ int main()
-+ {
-+ return (__clang_major__ >= 4);
-+ }" I386_ATOMIC_BUILTINS)
-+ IF((CMAKE_SYSTEM_PROCESSOR MATCHES "i386") AND (NOT I386_ATOMIC_BUILTINS))
-+ SET(HAVE_GCC_ATOMIC_BUILTINS CACHE INTERNAL "")
-+ ENDIF()
-+ ELSEIF(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()
- ENDIF()
- ENDIF()
-