openbsd-ports/x11/pekwm/patches/patch-CMakeLists_txt
2022-03-11 20:15:18 +00:00

12 lines
405 B
Plaintext

Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -67,6 +67,7 @@ int main() { std::stof(\"42.0\"); }
set(CMAKE_CXX_FLAGS ${orig_CMAKE_CXX_FLAGS})
# Look for platform specific methods
+check_function_exists(pledge PEKWM_HAVE_PLEDGE)
check_function_exists(setenv PEKWM_HAVE_SETENV)
check_function_exists(unsetenv PEKWM_HAVE_UNSETENV)
check_function_exists(daemon PEKWM_HAVE_DAEMON)