packages: php-phc/php-phc-php53.patch (NEW) - fix for php5.3

adamg adamg at pld-linux.org
Sun Dec 18 22:31:18 CET 2011


Author: adamg                        Date: Sun Dec 18 21:31:18 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix for php5.3

---- Files affected:
packages/php-phc:
   php-phc-php53.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-phc/php-phc-php53.patch
diff -u /dev/null packages/php-phc/php-phc-php53.patch:1.1
--- /dev/null	Sun Dec 18 22:31:18 2011
+++ packages/php-phc/php-phc-php53.patch	Sun Dec 18 22:31:13 2011
@@ -0,0 +1,14 @@
+--- phc-0.3.0.1/src/embed/optimize.cpp~	2010-10-26 15:17:27.000000000 +0200
++++ phc-0.3.0.1/src/embed/optimize.cpp	2011-12-18 21:05:56.277363114 +0100
+@@ -220,7 +220,11 @@
+ 
+ 	zend_fcall_info fci;
+ 	zend_fcall_info_cache fcic;
++#if PHP_VERSION_ID < 50300
+ 	int result = zend_fcall_info_init (&fn, &fci, &fcic TSRMLS_CC);
++#else
++	int result = zend_fcall_info_init (&fn, 0, &fci, &fcic, NULL, NULL TSRMLS_CC);
++#endif
+ 
+ 	if (result != SUCCESS)
+ 		return NULL;
================================================================


More information about the pld-cvs-commit mailing list