ports/devel/php5-ice/files/patch-php__src__IcePHP__Marshal.cpp
Greg Larkin 0805812cf0 - Unbreak after recent PHP 5.3.2 update
Reported by:	pointyhat
Approved by:	portmgr (itetcu, erwin - blanket)
2010-04-13 15:51:44 +00:00

11 lines
296 B
C++

--- ./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);
}