From 69f2faa2b9b1202f91f4f7db7439321fe5e70622 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Sun, 22 Oct 2023 10:36:34 +0200 Subject: dev-lang/ispc: remove unused patches Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/33450 Signed-off-by: Joonas Niilola --- dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch | 16 --------- dev-lang/ispc/files/ispc-1.18.0-llvm.patch | 39 ---------------------- 2 files changed, 55 deletions(-) delete mode 100644 dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch delete mode 100644 dev-lang/ispc/files/ispc-1.18.0-llvm.patch (limited to 'dev-lang/ispc') diff --git a/dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch b/dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch deleted file mode 100644 index 127b7095a778..000000000000 --- a/dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -530,11 +530,8 @@ else() - else() - find_package(Curses REQUIRED) - find_package(ZLIB REQUIRED) -- if (CURSES_EXTRA_LIBRARY) -- # this contains the tinfo library, if found -- target_link_libraries(${PROJECT_NAME} ${CURSES_EXTRA_LIBRARY}) -- endif() -- target_link_libraries(${PROJECT_NAME} pthread ${ZLIB_LIBRARIES} ${CURSES_CURSES_LIBRARY}) -+ set(CURSES_NEED_NCURSES ON) -+ target_link_libraries(${PROJECT_NAME} pthread ${ZLIB_LIBRARIES} ${CURSES_LIBRARIES}) - endif() - endif() - diff --git a/dev-lang/ispc/files/ispc-1.18.0-llvm.patch b/dev-lang/ispc/files/ispc-1.18.0-llvm.patch deleted file mode 100644 index 7303ac0fd6e8..000000000000 --- a/dev-lang/ispc/files/ispc-1.18.0-llvm.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 13e66268..27ff8364 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -218,7 +218,7 @@ if (WASM_ENABLED) - list(APPEND ISPC_TARGETS wasm-i32x4) - endif() - --set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex) -+set(CLANG_LIBRARY_LIST clang clang-cpp) - set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker option frontendopenmp) - - if (X86_ENABLED) -@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN) - endif() - - # Link against Clang libraries --foreach(clangLib ${CLANG_LIBRARY_LIST}) -- find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS}) -- list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path}) --endforeach() --target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST}) -+find_package(Clang REQUIRED) -+target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST}) - - # Link against LLVM libraries - target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST}) -diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp -index 06fab989..57a7130f 100644 ---- a/src/llvmutil.cpp -+++ b/src/llvmutil.cpp -@@ -42,6 +42,7 @@ - #include - #include - #include -+#include - - #ifdef ISPC_GENX_ENABLED - #include -- cgit v1.2.3-65-gdbad