summaryrefslogtreecommitdiff
path: root/devel/kf6-extra-cmake-modules/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kf6-extra-cmake-modules/files')
-rw-r--r--devel/kf6-extra-cmake-modules/files/extrapatch-inotify11
-rw-r--r--devel/kf6-extra-cmake-modules/files/patch-find-modules_FindInotify.cmake11
2 files changed, 11 insertions, 11 deletions
diff --git a/devel/kf6-extra-cmake-modules/files/extrapatch-inotify b/devel/kf6-extra-cmake-modules/files/extrapatch-inotify
deleted file mode 100644
index 80d16c075e6f..000000000000
--- a/devel/kf6-extra-cmake-modules/files/extrapatch-inotify
+++ /dev/null
@@ -1,11 +0,0 @@
---- find-modules/FindInotify.cmake.orig 2025-06-13 09:31:41 UTC
-+++ find-modules/FindInotify.cmake
-@@ -33,7 +33,7 @@ if(Inotify_INCLUDE_DIRS)
- if(Inotify_INCLUDE_DIRS)
- # On Linux and SunOS, there is no library to link against, on the BSDs there is.
- # On the BSD's, inotify is implemented through a library, libinotify.
-- if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "SunOS")
-+ if(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "SunOS" OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
- set(Inotify_FOUND TRUE)
- set(Inotify_LIBRARIES "")
- set(Inotify_INCLUDE_DIRS "")
diff --git a/devel/kf6-extra-cmake-modules/files/patch-find-modules_FindInotify.cmake b/devel/kf6-extra-cmake-modules/files/patch-find-modules_FindInotify.cmake
new file mode 100644
index 000000000000..5534cd6833b5
--- /dev/null
+++ b/devel/kf6-extra-cmake-modules/files/patch-find-modules_FindInotify.cmake
@@ -0,0 +1,11 @@
+--- find-modules/FindInotify.cmake.orig 2025-12-05 13:18:18 UTC
++++ find-modules/FindInotify.cmake
+@@ -56,7 +56,7 @@ if(Inotify_INCLUDE_DIRS)
+ cmake_path(GET Inotify_INCLUDE_DIRS PARENT_PATH includes_prefix)
+ cmake_path(GET Inotify_LIBRARIES PARENT_PATH lib_prefix)
+ cmake_path(GET lib_prefix PARENT_PATH lib_prefix)
+- cmake_path(COMPARE includes_prefix EQUAL lib_prefix prefixes_match)
++ cmake_path(COMPARE ${includes_prefix} EQUAL ${lib_prefix} prefixes_match)
+
+ if(NOT prefixes_match)
+ set(Inotify_FOUND TRUE)