Package: swig2.0 Version: 2.0.4-4 Tags: patch Hi,
Swig has an invalid conversion from 'const char*' to 'char*' problem with PHP code built with PHP 5.4 (at experimental at the moment). Upstream already fixed that here: http://swig.svn.sourceforge.net/viewvc/swig?view=revision&revision=12710 Please consider cherry picking this patch to let the PHP team to work on PHP 5.4 support. I already did a local build to verify the fix actually works, and also done here: https://bugzilla.redhat.com/show_bug.cgi?id=770696 I'm willing to NMU if needed. Thanks, Kaplan
From: Lior Kaplan <[email protected]> Description: Fix invalid char * conversion, fixes build with PHP 5.4 Origin: upstream, http://swig.svn.sourceforge.net/viewvc/swig?view=revision&revision=12710 --- a/Lib/php/phprun.swg +++ b/Lib/php/phprun.swg @@ -192,7 +192,7 @@ swig_object_wrapper *value; void *p; int type; - char *type_name; + const char *type_name; value = (swig_object_wrapper *) zend_list_find(z->value.lval, &type); if ( flags & SWIG_POINTER_DISOWN ) {

