summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-02-22 12:12:00 +0300
committerGleb Popov <arrowd@FreeBSD.org>2025-02-22 12:12:45 +0300
commit1d93b51a01b4b0c199e9b94312c18570a051e41c (patch)
tree025d1610116c646d8b3f308bd50c0dda4b5a34f2
parentdevel/ocaml-type_conv: Deprecate and set expiration date to 2025-03-31 (diff)
shells/libpowershell-native: Fix build on FreeBSD 13
Reported by: kib
-rw-r--r--shells/libpowershell-native/files/patch-src_libpsl-native_src_CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/libpowershell-native/files/patch-src_libpsl-native_src_CMakeLists.txt b/shells/libpowershell-native/files/patch-src_libpsl-native_src_CMakeLists.txt
new file mode 100644
index 000000000000..999711c66486
--- /dev/null
+++ b/shells/libpowershell-native/files/patch-src_libpsl-native_src_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- src/libpsl-native/src/CMakeLists.txt.orig 2024-03-30 21:53:03 UTC
++++ src/libpsl-native/src/CMakeLists.txt
+@@ -34,7 +34,7 @@ add_library(psl-native SHARED
+ check_function_exists(sysconf HAVE_SYSCONF)
+
+ check_include_files(
+- "sys/sysctl.h"
++ "stddef.h;sys/sysctl.h"
+ HAVE_SYS_SYSCTL_H)
+
+ configure_file(