Control: tags 1006009 + pending
Control: tags 1006110 + pending

Dear maintainer,

I've prepared an NMU for libwebp (versioned as 1.2.1-7.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Cheers
-- 
Sebastian Ramacher
diff -Nru libwebp-1.2.1/debian/changelog libwebp-1.2.1/debian/changelog
--- libwebp-1.2.1/debian/changelog	2022-02-16 20:02:28.000000000 +0100
+++ libwebp-1.2.1/debian/changelog	2022-03-06 11:12:08.000000000 +0100
@@ -1,3 +1,10 @@
+libwebp (1.2.1-7.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply upstream fix for mipsel regression (Closes: #1006009, 1006110)
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Sun, 06 Mar 2022 11:12:08 +0100
+
 libwebp (1.2.1-7) unstable; urgency=medium
 
   * No changes; uploading to unstable as part of soname transition.
diff -Nru libwebp-1.2.1/debian/pachtes/0001-Fix-lossless-encoding-for-MIPS.patch libwebp-1.2.1/debian/pachtes/0001-Fix-lossless-encoding-for-MIPS.patch
--- libwebp-1.2.1/debian/pachtes/0001-Fix-lossless-encoding-for-MIPS.patch	1970-01-01 01:00:00.000000000 +0100
+++ libwebp-1.2.1/debian/pachtes/0001-Fix-lossless-encoding-for-MIPS.patch	2022-03-06 11:10:27.000000000 +0100
@@ -0,0 +1,47 @@
+From e4cbcdd2b5ff33a64f97fe49d67fb56f915657e8 Mon Sep 17 00:00:00 2001
+From: Vincent Rabaud <vrab...@google.com>
+Date: Tue, 1 Mar 2022 13:38:29 +0100
+Subject: [PATCH 1/2] Fix lossless encoding for MIPS.
+
+Bug: webp:558
+Change-Id: I3d3ddb64ed26a8d8ff5664664c5f20f6eadfeb4f
+---
+ src/dsp/lossless_enc_mips32.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/dsp/lossless_enc_mips32.c b/src/dsp/lossless_enc_mips32.c
+index 0412a093..99630517 100644
+--- a/src/dsp/lossless_enc_mips32.c
++++ b/src/dsp/lossless_enc_mips32.c
+@@ -347,24 +347,24 @@ static void GetCombinedEntropyUnrefined_MIPS32(const uint32_t X[],
+ static void AddVector_MIPS32(const uint32_t* pa, const uint32_t* pb,
+                              uint32_t* pout, int size) {
+   uint32_t temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
+-  const uint32_t end = ((size) / 4) * 4;
++  const int end = ((size) / 4) * 4;
+   const uint32_t* const LoopEnd = pa + end;
+   int i;
+   ASM_START
+   ADD_TO_OUT(0, 4, 8, 12, 1, pa, pb, pout)
+   ASM_END_0
+-  for (i = end; i < size; ++i) pout[i] = pa[i] + pb[i];
++  for (i = 0; i < size - end; ++i) pout[i] = pa[i] + pb[i];
+ }
+ 
+ static void AddVectorEq_MIPS32(const uint32_t* pa, uint32_t* pout, int size) {
+   uint32_t temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
+-  const uint32_t end = ((size) / 4) * 4;
++  const int end = ((size) / 4) * 4;
+   const uint32_t* const LoopEnd = pa + end;
+   int i;
+   ASM_START
+   ADD_TO_OUT(0, 4, 8, 12, 0, pa, pout, pout)
+   ASM_END_1
+-  for (i = end; i < size; ++i) pout[i] += pa[i];
++  for (i = 0; i < size - end; ++i) pout[i] += pa[i];
+ }
+ 
+ #undef ASM_END_1
+-- 
+2.35.1
+
diff -Nru libwebp-1.2.1/debian/pachtes/series libwebp-1.2.1/debian/pachtes/series
--- libwebp-1.2.1/debian/pachtes/series	1970-01-01 01:00:00.000000000 +0100
+++ libwebp-1.2.1/debian/pachtes/series	2022-03-06 11:11:12.000000000 +0100
@@ -0,0 +1 @@
+0001-Fix-lossless-encoding-for-MIPS.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to