Commits

Anthony Ramine authored a213e7704f2
Create new port php5-amf

Allows to encode and decode PHP data in ActionScript Message Format (AMF) version 0 and 3. git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@62362 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

php/php5-amf/files/patch-amf.c.diff

Added
1 +--- amf.c.orig 2010-01-05 04:23:23.000000000 +0100
2 ++++ amf.c 2010-01-05 04:29:37.000000000 +0100
3 +@@ -1185,7 +1185,6 @@
4 + int resultType = AMFC_TYPEDOBJECT;
5 + int resultValueLength = 0;
6 + zval** resultValue = struc;
7 +- int deallocResult = (*struc)->refcount;
8 +
9 + resultType = amf_perform_serialize_callback(struc, &className,&classNameLen,&resultValue,var_hash TSRMLS_CC);
10 +
11 +@@ -2670,7 +2669,7 @@
12 + }
13 + else
14 + {
15 +- newval->refcount--;
16 ++ Z_DELREF_P(newval);
17 + }
18 + *rval = newval;
19 + }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut