diff options
author | V.Krishn <vkrishn4@gmail.com> | 2016-02-16 15:30:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-02-16 15:44:18 +0000 |
commit | bd36ab5bb1b6a8fd09a94a41d6cca2f20e049caf (patch) | |
tree | 12dd7090d5ff60a4becfb6673bed07ddcd9f17d8 /testing/php-suhosin/0001-php_flock-undefined-variable-fix.patch | |
parent | 2c52bc892034f81f2c063d7d39e42366bb123793 (diff) | |
download | aports-bd36ab5bb1b6a8fd09a94a41d6cca2f20e049caf.tar.bz2 aports-bd36ab5bb1b6a8fd09a94a41d6cca2f20e049caf.tar.xz |
testing/php-suhosin: new aport
PHP extension SUHOSIN,
An advanced protection system for PHP installations.
Diffstat (limited to 'testing/php-suhosin/0001-php_flock-undefined-variable-fix.patch')
-rw-r--r-- | testing/php-suhosin/0001-php_flock-undefined-variable-fix.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/php-suhosin/0001-php_flock-undefined-variable-fix.patch b/testing/php-suhosin/0001-php_flock-undefined-variable-fix.patch new file mode 100644 index 0000000000..eb08b1f52e --- /dev/null +++ b/testing/php-suhosin/0001-php_flock-undefined-variable-fix.patch @@ -0,0 +1,27 @@ +From 2979ca419e3c38252384e6b4a23c53736645542a Mon Sep 17 00:00:00 2001 +From: "V.Krishn" <vkrishn4@gmail.com> +Date: Tue, 16 Feb 2016 20:33:31 +0530 +Subject: [PATCH] php_flock undefined variable fix + +--- + log.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/log.c b/log.c +index eae3841..77cbfa7 100644 +--- a/log.c ++++ b/log.c +@@ -30,6 +30,9 @@ + #include <fcntl.h> + #include "SAPI.h" + #include "ext/standard/datetime.h" ++ ++#define LOCK_EX 2 ++#define LOCK_UN 3 + #include "ext/standard/flock_compat.h" + + #ifdef HAVE_SYS_SOCKET_H +-- +1.7.10.4 + + |