tag 656481 patch thanks This patch adds the PHP 5.4 support. I'd like to NMU if that's OK with you.
--- imlib.c.orig 2012-01-21 13:11:38.000000000 +0200
+++ imlib.c 2012-01-21 13:05:49.000000000 +0200
@@ -73,7 +73,7 @@
static int le_imlib_img;
static int le_imlib_poly;
-function_entry imlib_functions[] = {
+zend_function_entry imlib_functions[] = {
PHP_FE(imlib_add_color_to_color_range,NULL)
PHP_FE(imlib_blend_image_onto_image,NULL)
PHP_FE(imlib_clone_image,NULL)

