summarylogtreecommitdiffstats
path: root/no-sys-sysctl-header.patch
diff options
context:
space:
mode:
authorAndrew Sun2020-10-01 22:45:35 -0400
committerAndrew Sun2020-10-01 22:45:35 -0400
commit322f8f1fcdf7eb9aad0b50d9b5bcea12d6a692b5 (patch)
tree0321dfcd89560039d12215959297ddaf308d9833 /no-sys-sysctl-header.patch
parent7d17a7f166afc81ae6989189927b90cbdcad3a5d (diff)
downloadaur-322f8f1fcdf7eb9aad0b50d9b5bcea12d6a692b5.tar.gz
fix build without <sys/sysctl.h>
Diffstat (limited to 'no-sys-sysctl-header.patch')
-rw-r--r--no-sys-sysctl-header.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/no-sys-sysctl-header.patch b/no-sys-sysctl-header.patch
new file mode 100644
index 00000000000..736b804012c
--- /dev/null
+++ b/no-sys-sysctl-header.patch
@@ -0,0 +1,11 @@
+diff -Naur Chipmunk2D-Chipmunk-7.0.3.orig/src/cpHastySpace.c Chipmunk2D-Chipmunk-7.0.3/src/cpHastySpace.c
+--- Chipmunk2D-Chipmunk-7.0.3.orig/src/cpHastySpace.c 2020-10-01 22:42:46.218323897 -0400
++++ Chipmunk2D-Chipmunk-7.0.3/src/cpHastySpace.c 2020-10-01 22:43:20.858552865 -0400
+@@ -8,7 +8,6 @@
+
+ //#include <sys/param.h >
+ #ifndef _WIN32
+-#include <sys/sysctl.h>
+ #include <pthread.h>
+ #else
+ #ifndef WIN32_LEAN_AND_MEAN