- Unbreak after recent PHP 5.3.2 update

Reported by:	pointyhat
Approved by:	portmgr (itetcu, erwin - blanket)
This commit is contained in:
Greg Larkin 2010-04-13 15:51:44 +00:00
parent 3edd2f55b5
commit 0805812cf0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252649

View file

@ -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);
}