aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php5-suhosin/fix-LOCK-undeclared.patch
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2017-01-20 05:25:01 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-02-08 13:15:31 +0200
commit3f09b3f17e487624928ed29e9096eae632c92699 (patch)
treed0fe6c70dbfe718b5554b3d18e42681e0843d074 /testing/php5-suhosin/fix-LOCK-undeclared.patch
parent92e32fd173f3e5f3c086b304eb8a8c396192e87c (diff)
downloadaports-3f09b3f17e487624928ed29e9096eae632c92699.tar.bz2
aports-3f09b3f17e487624928ed29e9096eae632c92699.tar.xz
testing/php5-suhosin: new aport
https://suhosin.org
Diffstat (limited to 'testing/php5-suhosin/fix-LOCK-undeclared.patch')
-rw-r--r--testing/php5-suhosin/fix-LOCK-undeclared.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/php5-suhosin/fix-LOCK-undeclared.patch b/testing/php5-suhosin/fix-LOCK-undeclared.patch
new file mode 100644
index 0000000000..27b3e7555b
--- /dev/null
+++ b/testing/php5-suhosin/fix-LOCK-undeclared.patch
@@ -0,0 +1,11 @@
+--- suhosin-0.9.38/log.c
++++ suhosin-0.9.38/log.c.new
+@@ -27,7 +27,7 @@
+ #include "php.h"
+ #include "php_ini.h"
+ #include "php_suhosin.h"
+-#include <fcntl.h>
++#include <linux/fcntl.h>
+ #include "SAPI.h"
+ #include "ext/standard/datetime.h"
+ #include "ext/standard/flock_compat.h"