SOURCES: php-htscanner-zts.patch (NEW) - fix build with ZTS

glen glen at pld-linux.org
Wed Jun 7 14:38:36 CEST 2006


Author: glen                         Date: Wed Jun  7 12:38:36 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build with ZTS

---- Files affected:
SOURCES:
   php-htscanner-zts.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-htscanner-zts.patch
diff -u /dev/null SOURCES/php-htscanner-zts.patch:1.1
--- /dev/null	Wed Jun  7 14:38:36 2006
+++ SOURCES/php-htscanner-zts.patch	Wed Jun  7 14:38:31 2006
@@ -0,0 +1,11 @@
+--- htscanner/htscanner.c~	2005-11-08 16:05:04.000000000 +0200
++++ htscanner/htscanner.c	2006-06-07 15:29:53.441095824 +0300
+@@ -180,7 +180,7 @@
+  * doc_root only seems to be available in _SERVER["doc_root"] 
+  * so get it there.
+  */
+-static char* get_doc_root(TSRMLS_DC) {
++static char* get_doc_root(TSRMLS_D) {
+ 	zval **server, **data;
+ 	
+ 	if (zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"), 
================================================================


More information about the pld-cvs-commit mailing list