From a0847dc404d0145635f63b0e178cb9b9d82c5520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 31 Jan 2021 09:43:17 +0700 Subject: [PATCH] cmake-gui: remove unnecessary patches --- .../patches/0001-Disable-try_run.patch | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 srcpkgs/cmake-gui/patches/0001-Disable-try_run.patch diff --git a/srcpkgs/cmake-gui/patches/0001-Disable-try_run.patch b/srcpkgs/cmake-gui/patches/0001-Disable-try_run.patch deleted file mode 100644 index 3e05af1a581..00000000000 --- a/srcpkgs/cmake-gui/patches/0001-Disable-try_run.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 544abc16419065c009361b9627f69665471cfb6d Mon Sep 17 00:00:00 2001 -From: Nathan Owens -Date: Fri, 20 Nov 2020 22:24:08 -0600 -Subject: [PATCH] Disable try_run - -If cross-building, try_run cannot run during -cross-build so cause build to fail ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git CMakeLists.txt CMakeLists.txt -index 2d860d4..c14a203 100644 ---- CMakeLists.txt -+++ CMakeLists.txt -@@ -61,7 +61,7 @@ if("${CMake_SOURCE_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}") - if(CMAKE_TRY_COMPILE_OSX_ARCHITECTURES) - message(FATAL_ERROR "TRY_RUN not allowed with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES=[${CMAKE_TRY_COMPILE_OSX_ARCHITECTURES}]") - else() -- _TRY_RUN(${ARGV}) -+ # _TRY_RUN(${ARGV}) - endif() - endmacro() - endif() --- -2.29.2 -