tags 991647 + patch
thanks

Here is my proposal to fix this in bullseye.

Thanks.
diff -Nru libisocodes-1.2.3/debian/changelog libisocodes-1.2.3/debian/changelog
--- libisocodes-1.2.3/debian/changelog  2021-01-27 01:10:59.000000000 +0100
+++ libisocodes-1.2.3/debian/changelog  2023-01-03 15:05:00.000000000 +0100
@@ -1,3 +1,10 @@
+libisocodes (1.2.3-1+deb11u1) bullseye; urgency=medium
+
+  * Fix FTBFS due to French translation update in iso-codes.
+    Closes: #963411.
+
+ -- Dr. Tobias Quathamer <to...@debian.org>  Tue, 03 Jan 2023 15:05:00 +0100
+
 libisocodes (1.2.3-1) unstable; urgency=medium
 
   * New upstream version 1.2.3
diff -Nru 
libisocodes-1.2.3/debian/patches/fix-unit-test-due-to-translation-update-in-iso-codes.patch
 
libisocodes-1.2.3/debian/patches/fix-unit-test-due-to-translation-update-in-iso-codes.patch
--- 
libisocodes-1.2.3/debian/patches/fix-unit-test-due-to-translation-update-in-iso-codes.patch
 1970-01-01 01:00:00.000000000 +0100
+++ 
libisocodes-1.2.3/debian/patches/fix-unit-test-due-to-translation-update-in-iso-codes.patch
 2023-01-03 15:04:04.000000000 +0100
@@ -0,0 +1,17 @@
+From: Santiago Vila <sanv...@debian.org>
+Subject: Fix FTBFS due to translation update in iso-codes
+Bug-Debian: https://bugs.debian.org/991647
+Forwarded: not-needed
+Last-Update: 2023-01-03
+
+--- libisocodes-1.2.3.orig/tests/test_iso_15924.vala
++++ libisocodes-1.2.3/tests/test_iso_15924.vala
+@@ -72,7 +72,7 @@ namespace libisocodes {
+                     // Check first and last translated entry
+                     assert(e[0].alpha_4_code == "Beng");
+                     assert(e[0].numeric_code == "325");
+-                    assert(e[0].name == "Bengali");
++                    assert(e[0].name == "bengali");
+                     assert(e[e.length-1].alpha_4_code == "Latn");
+                     assert(e[e.length-1].numeric_code == "215");
+                     assert(e[e.length-1].name == "latin");
diff -Nru libisocodes-1.2.3/debian/patches/series 
libisocodes-1.2.3/debian/patches/series
--- libisocodes-1.2.3/debian/patches/series     1970-01-01 01:00:00.000000000 
+0100
+++ libisocodes-1.2.3/debian/patches/series     2023-01-03 15:02:26.000000000 
+0100
@@ -0,0 +1 @@
+fix-unit-test-due-to-translation-update-in-iso-codes.patch

Reply via email to