On 2010-02-10 00:39:21 -0600, Raphael Geissert wrote: > > /tmp/buildd/php-imlib-0.7/imlib.c:46: error: duplicate 'static' > > /tmp/buildd/php-imlib-0.7/imlib.c:54: error: duplicate 'static' > > /tmp/buildd/php-imlib-0.7/imlib.c:77: error: 'second_arg_force_ref' > > undeclared here (not in a function) > > /tmp/buildd/php-imlib-0.7/imlib.c:114: > > error: 'third_arg_force_ref' undeclared here (not in a function)
After googling a little bit I found the commit which removed those declarations from zend_modules.h: http://github.com/php/php-src/commit/d09789e53096b5afe625240172ee397e60198289 Copying the needed declarations into imlib.c lets it build again. Attached is a patch to fix the FTBFS (the deprecation warnings are still there). It would be good if an user of it could confirm that is still works as expected (didn't had time to test it yet). Michael --- php-imlib-0.7/imlib.c +++ php-imlib-0.7/imlib.c @@ -42,7 +42,17 @@ ZEND_DECLARE_MODULE_GLOBALS(imlib); -static + ZEND_BEGIN_ARG_INFO(second_arg_force_ref, 0) + ZEND_ARG_PASS_INFO(0) + ZEND_ARG_PASS_INFO(1) + ZEND_END_ARG_INFO(); + + ZEND_BEGIN_ARG_INFO(third_arg_force_ref, 0) + ZEND_ARG_PASS_INFO(0) + ZEND_ARG_PASS_INFO(0) + ZEND_ARG_PASS_INFO(1) + ZEND_END_ARG_INFO(); + ZEND_BEGIN_ARG_INFO(third_and_fourth_arg_force_ref, 0) ZEND_ARG_PASS_INFO(0) ZEND_ARG_PASS_INFO(0) @@ -50,7 +60,6 @@ ZEND_ARG_PASS_INFO(1) ZEND_END_ARG_INFO(); -static ZEND_BEGIN_ARG_INFO(second_through_fifth_arg_force_ref, 0) ZEND_ARG_PASS_INFO(0) ZEND_ARG_PASS_INFO(1) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org