SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
devel/ccache/patches/patch-cmake_config_h_in
Normal file
23
devel/ccache/patches/patch-cmake_config_h_in
Normal file
|
@ -0,0 +1,23 @@
|
|||
Index: cmake/config.h.in
|
||||
--- cmake/config.h.in.orig
|
||||
+++ cmake/config.h.in
|
||||
@@ -20,6 +20,10 @@
|
||||
#define _GNU_SOURCE 1
|
||||
|
||||
// The later definition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables certain
|
||||
+// features on OpenBSD, so we need _BSD_SOURCE to re-enable them.
|
||||
+#define _BSD_SOURCE 1
|
||||
+
|
||||
+// The later definition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables certain
|
||||
// features on NetBSD, so we need _NETBSD_SOURCE to re-enable them.
|
||||
#define _NETBSD_SOURCE 1
|
||||
|
||||
@@ -40,7 +44,7 @@
|
||||
|
||||
#if defined(__SunOS_5_8) || defined(__SunOS_5_9) || defined(__SunOS_5_10)
|
||||
# define _XOPEN_SOURCE 500
|
||||
-#elif defined(__FreeBSD__)
|
||||
+#elif defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
# define _XOPEN_SOURCE 700
|
||||
#elif defined(__ibmxl__) && defined(__clang__) // Compiler xlclang
|
||||
# define _XOPEN_SOURCE 600
|
Loading…
Add table
Add a link
Reference in a new issue