From d01a7cce7e0e5dc24dd46e30d70adf5f47e81d11 Mon Sep 17 00:00:00 2001 From: ale Date: Thu, 9 Feb 2012 16:19:26 +0000 Subject: Fix build with thread-safe php. --- security/php-suhosin/files/patch-post_handler.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 security/php-suhosin/files/patch-post_handler.c (limited to 'security') diff --git a/security/php-suhosin/files/patch-post_handler.c b/security/php-suhosin/files/patch-post_handler.c new file mode 100644 index 000000000000..33c9b7da76c9 --- /dev/null +++ b/security/php-suhosin/files/patch-post_handler.c @@ -0,0 +1,10 @@ +--- post_handler.c.orig 2012-02-09 17:17:35.000000000 +0100 ++++ post_handler.c 2012-02-09 17:17:58.000000000 +0100 +@@ -165,6 +165,7 @@ + void suhosin_unhook_post_handlers() + { + zend_ini_entry *ini_entry; ++ TSRMLS_FETCH(); + + /* Restore to an empty destructor */ + SG(known_post_content_types).pDestructor = NULL; -- cgit