From aecd4a7e49bfbda039c08d9b9a2160a9e05183f9 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 30 Jan 2013 16:32:30 +0100 Subject: [PATCH] patch our local xmlrpc lib (for supporting allow_none=True) with php5.4 --- php/xmlrpc/xmlrpc-epi-php.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/php/xmlrpc/xmlrpc-epi-php.c b/php/xmlrpc/xmlrpc-epi-php.c index 435092ce..f6909856 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) -- 2.47.0