From: Thierry Parmentelat Date: Wed, 30 Jan 2013 15:32:30 +0000 (+0100) Subject: patch our local xmlrpc lib (for supporting allow_none=True) with php5.4 X-Git-Tag: plcapi-5.2-1~27 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=aecd4a7e49bfbda039c08d9b9a2160a9e05183f9 patch our local xmlrpc lib (for supporting allow_none=True) with php5.4 --- diff --git a/php/xmlrpc/xmlrpc-epi-php.c b/php/xmlrpc/xmlrpc-epi-php.c index 435092c..f690985 100644 --- a/php/xmlrpc/xmlrpc-epi-php.c +++ b/php/xmlrpc/xmlrpc-epi-php.c @@ -93,6 +93,19 @@ #endif /* ==================== end patch */ +/* ==================== + * Thierry - Jan. 30 2013 + * patch for php - issues first triggered on f18 with php-5.4 + * https://bugs.php.net/bug.php?id=60016 + * https://bugs.php.net/bug.php?id=60016 + */ +#if ZEND_MODULE_API_NO >= 20100525 +// No more defined with PHP 5.4 +#define function_entry zend_function_entry +#define pval zval +#endif +/* ==================== end patch */ + /* ========== additional notes * in the process, I've also come across the following resources that might help * if/when zend_get_parameters_ex gets deprecated (only generates warnings for now)