Control: tags -1 + pending

Hello Jeff,

At Imagination Technologies (http://imgtec.com/) Dejan Latinovic has
found a solution to Debian bug #756788.

https://bugs.debian.org/756788

My NMU debdiff for libwebp_0.4.1-1.1 is below, at the end of this
message.

With the changes in the NMU debdiff, libwebp builds successfully on
mips, mipsel and amd64.

Regards,

Aníbal
--
Aníbal Monsalve Salazar <anibal.monsalvesala...@imgtec.com>

debdiff libwebp_0.4.1-1.dsc libwebp_0.4.1-1.1.dsc
diff -Nru libwebp-0.4.1/debian/changelog libwebp-0.4.1/debian/changelog
--- libwebp-0.4.1/debian/changelog      2014-07-31 00:39:36.000000000 +0100
+++ libwebp-0.4.1/debian/changelog      2014-08-06 04:52:30.000000000 +0100
@@ -1,3 +1,13 @@
+libwebp (0.4.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "libwebp FTBFS on mips/mipsel".
+    Add fix-mips2.patch.
+    Patch by Dejan Latinovic <dejan.latino...@imgtec.com>.
+    Closes: #756788.
+
+ -- Anibal Monsalve Salazar <ani...@debian.org>  Wed, 06 Aug 2014 04:52:22 
+0100
+
 libwebp (0.4.1-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru libwebp-0.4.1/debian/patches/fix-mips2.patch 
libwebp-0.4.1/debian/patches/fix-mips2.patch
--- libwebp-0.4.1/debian/patches/fix-mips2.patch        1970-01-01 
01:00:00.000000000 +0100
+++ libwebp-0.4.1/debian/patches/fix-mips2.patch        2014-08-06 
04:49:20.000000000 +0100
@@ -0,0 +1,26 @@
+Date: Mon, 4 Aug 2014 18:04:52 +0100
+From: Dejan Latinovic <dejan.latino...@imgtec.com>
+To: Anibal Monsalve Salazar <anibal.monsalvesala...@imgtec.com>
+CC: IMG - MIPS Debian Discussion <img-mipsdebiandiscuss...@imgtec.com>
+Subject: fix for libwebp
+
+https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=756788
+
+package libwebp FTBFS on mips/mipsel.  The reason for this behavior is that
+mips2 does not support movz instruction.  I attached a patch that fixes this
+issue.  With this patch I have successfully built libwebp for both mips and
+mipsel.
+
+Index: libwebp-0.4.1/src/dsp/dsp.h
+===================================================================
+--- libwebp-0.4.1.orig/src/dsp/dsp.h
++++ libwebp-0.4.1/src/dsp/dsp.h
+@@ -60,7 +60,7 @@ extern "C" {
+ #define WEBP_USE_NEON
+ #endif
+ 
+-#if defined(__mips__)
++#if defined(__mips__) && defined(_MIPS_ARCH_MIPS32)
+ #define WEBP_USE_MIPS32
+ #endif
+ 
diff -Nru libwebp-0.4.1/debian/patches/series 
libwebp-0.4.1/debian/patches/series
--- libwebp-0.4.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ libwebp-0.4.1/debian/patches/series 2014-08-06 04:44:56.000000000 +0100
@@ -0,0 +1 @@
+fix-mips2.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to