Package: php-imlib
Severity: normal
Tags: patch

Hi,

I have uploaded NMU with fix to DELAYED/5.

Patch is attached.

O.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/debian/changelog b/debian/changelog
index 08278ad..434958e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+php-imlib (0.7-3.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Fix FTBFS with PHP 5.4 (Closes: #656481)
+  * Add quilt source format
+
+ -- Ondřej Surý <ond...@debian.org>  Tue, 13 Mar 2012 12:56:16 +0100
+
 php-imlib (0.7-3) unstable; urgency=low
 
   * convert to dpkg-buildflags to avoid hard-coding of policy flags and to
diff --git a/debian/patches/php5.4-compatibility.patch b/debian/patches/php5.4-compatibility.patch
new file mode 100644
index 0000000..6c3e65a
--- /dev/null
+++ b/debian/patches/php5.4-compatibility.patch
@@ -0,0 +1,11 @@
+--- a/imlib.c
++++ b/imlib.c
+@@ -73,7 +73,7 @@ static int le_imlib_font;
+ 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)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..03aee1a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+php5.4-compatibility.patch
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

Reply via email to