aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/php5-ice/files/patch-php__src__IcePHP__Marshal.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/php5-ice/files/patch-php__src__IcePHP__Marshal.cpp b/devel/php5-ice/files/patch-php__src__IcePHP__Marshal.cpp
new file mode 100644
index 000000000000..0c7a9d4a7fa5
--- /dev/null
+++ b/devel/php5-ice/files/patch-php__src__IcePHP__Marshal.cpp
@@ -0,0 +1,11 @@
+--- ./php/src/IcePHP/Marshal.cpp.orig 2010-04-13 11:43:37.000000000 -0400
++++ ./php/src/IcePHP/Marshal.cpp 2010-04-13 11:43:44.000000000 -0400
+@@ -1929,7 +1929,7 @@
+ this->TSRMLS_C = TSRMLS_C;
+ #endif
+
+- ZVAL_ADDREF(_value);
++ Z_ADDREF_P(_value);
+
+ _class = Z_OBJCE_P(_value);
+ }