From 01b58d81f324daa716f18140f2be1f7ec79bb8d8 Mon Sep 17 00:00:00 2001 From: Rodion Goritskov Date: Mon, 13 May 2024 22:22:28 +0400 Subject: gnu: Add fallout2-ce. * rodion/packages/fpattern.patch (fallout2-ce): New variable. --- rodion/packages/patches/0001-fallout-ce-fpattern.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rodion/packages/patches/0001-fallout-ce-fpattern.patch (limited to 'rodion/packages/patches/0001-fallout-ce-fpattern.patch') diff --git a/rodion/packages/patches/0001-fallout-ce-fpattern.patch b/rodion/packages/patches/0001-fallout-ce-fpattern.patch new file mode 100644 index 0000000..d2772c5 --- /dev/null +++ b/rodion/packages/patches/0001-fallout-ce-fpattern.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index bd50a9e..afdb04c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -353,7 +353,9 @@ else() + find_package(SDL2) + endif() + +-add_subdirectory("third_party/fpattern") ++find_path(FPATTERN_INCLUDE_DIR fpattern.h) ++find_library(FPATTERN_LIBRARY libfpattern.so) ++ + target_link_libraries(${EXECUTABLE_NAME} ${FPATTERN_LIBRARY}) + target_include_directories(${EXECUTABLE_NAME} PRIVATE ${FPATTERN_INCLUDE_DIR}) + -- cgit v1.2.3