[98320] trunk/dports/php/php-peb/files/patch-peb.c.diff
ryandesign at macports.org
ryandesign at macports.org
Tue Oct 2 17:28:30 PDT 2012
Revision: 98320
http://trac.macports.org//changeset/98320
Author: ryandesign at macports.org
Date: 2012-10-02 17:28:30 -0700 (Tue, 02 Oct 2012)
Log Message:
-----------
php-peb: fix build with clang (#34651)
Modified Paths:
--------------
trunk/dports/php/php-peb/files/patch-peb.c.diff
Modified: trunk/dports/php/php-peb/files/patch-peb.c.diff
===================================================================
--- trunk/dports/php/php-peb/files/patch-peb.c.diff 2012-10-03 00:15:43 UTC (rev 98319)
+++ trunk/dports/php/php-peb/files/patch-peb.c.diff 2012-10-03 00:28:30 UTC (rev 98320)
@@ -1,5 +1,5 @@
--- peb.c.orig 2010-03-08 20:12:02.000000000 -0600
-+++ peb.c 2012-05-16 18:03:25.000000000 -0500
++++ peb.c 2012-10-01 11:54:39.000000000 -0700
@@ -297,8 +297,8 @@
peb_link * alink = NULL;
@@ -24,3 +24,21 @@
PEB_G(default_link) = Z_LVAL_P(return_value TSRMLS_CC);
ZEND_REGISTER_RESOURCE(return_value, alink, le_plink);
}
+@@ -693,7 +693,7 @@
+ }
+ /* }}} */
+
+-int _peb_encode_term(ei_x_buff* x,char **fmt,int * fmtpos, HashTable *arr, unsigned long * arridx)
++static void _peb_encode_term(ei_x_buff* x,char **fmt,int * fmtpos, HashTable *arr, unsigned long * arridx)
+ {
+ char* p = *fmt + *fmtpos;
+ int i,v;
+@@ -802,7 +802,7 @@
+
+ }
+
+-int _peb_encode(ei_x_buff* x, char** fmt, int fmt_len, int * fmtpos, HashTable *arr, unsigned long * arridx)
++static void _peb_encode(ei_x_buff* x, char** fmt, int fmt_len, int * fmtpos, HashTable *arr, unsigned long * arridx)
+ {
+ /*
+ ~a - an atom, char*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121002/93eee579/attachment.html>
More information about the macports-changes
mailing list