diff options
author | Rene Ladan <rene@FreeBSD.org> | 2024-09-02 21:11:49 +0200 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2024-09-02 21:11:49 +0200 |
commit | d9574b29db38b0c3d367875fe6e3c6d723036f70 (patch) | |
tree | c39107e32f6d687e5d88cfa048018e8e32830a74 /databases/mysql81-server/files/patch-cmake_os_DragonFly.cmake | |
parent | Mk: unregister expired mysql81 (diff) |
cleanup: Remove expired ports:
2024-09-01 databases/mysql81-server: MySQL 8.1 is not supported by the vendor and has unfixed vulnerabilies
2024-09-01 databases/mysql81-client: MySQL 8.1 is not supported by the vendor and has unfixed vulnerabilies
Diffstat (limited to 'databases/mysql81-server/files/patch-cmake_os_DragonFly.cmake')
-rw-r--r-- | databases/mysql81-server/files/patch-cmake_os_DragonFly.cmake | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/databases/mysql81-server/files/patch-cmake_os_DragonFly.cmake b/databases/mysql81-server/files/patch-cmake_os_DragonFly.cmake deleted file mode 100644 index 83c154ee3bcf..000000000000 --- a/databases/mysql81-server/files/patch-cmake_os_DragonFly.cmake +++ /dev/null @@ -1,27 +0,0 @@ ---- cmake/os/DragonFly.cmake.orig 2016-04-14 10:16:17 UTC -+++ cmake/os/DragonFly.cmake -@@ -0,0 +1,24 @@ -+INCLUDE(CheckCSourceRuns) -+ -+# We require at least GCC 4.4 or Clang 3.3. -+IF(NOT FORCE_UNSUPPORTED_COMPILER) -+ 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 "Clang") -+ CHECK_C_SOURCE_RUNS(" -+ int main() -+ { -+ return (__clang_major__ < 3) || -+ (__clang_major__ == 3 && __clang_minor__ < 3); -+ }" HAVE_SUPPORTED_CLANG_VERSION) -+ IF(NOT HAVE_SUPPORTED_CLANG_VERSION) -+ MESSAGE(FATAL_ERROR "Clang 3.3 or newer is required!") -+ ENDIF() -+ ELSE() -+ MESSAGE(FATAL_ERROR "Unsupported compiler!") -+ ENDIF() -+ENDIF() |