Package: doc-linux-fr Version: 2013.01-3 Followup-For: Bug #910813 User: [email protected] Usertags: origin-ubuntu jammy ubuntu-patch X-Debbugs-Cc: [email protected] Control: tags -1 patch
Dear Maintainer, In Ubuntu, the attached patch was applied to fix the build failure due to an invalid UTF-8 byte sequence. Setting the output encoding of the xslt processor to UTF-8 fixes the issue. * Fix FTBFS by using UTF-8 to produce the TeX (Closes: #910813) Thanks for considering the patch. -- System Information: Debian Release: 11.0 APT prefers impish-updates APT policy: (500, 'impish-updates'), (500, 'impish-security'), (500, 'impish'), (100, 'impish-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.13.0-23-generic (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru doc-linux-fr-2013.01/debian/patches/fix_ftbfs_utf8.patch doc-linux-fr-2013.01/debian/patches/fix_ftbfs_utf8.patch --- doc-linux-fr-2013.01/debian/patches/fix_ftbfs_utf8.patch 1970-01-01 01:00:00.000000000 +0100 +++ doc-linux-fr-2013.01/debian/patches/fix_ftbfs_utf8.patch 2022-01-18 10:05:56.000000000 +0100 @@ -0,0 +1,26 @@ +Description: Fix FTBFS with invalid UTF-8 sequence +Author: Lukas Märdian <[email protected]> +Origin: vendor, Ubuntu +Forwarded: no +Last-Update: 2022-01-18 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- doc-linux-fr-2013.01.orig/fcol-faq/to_tex.xsl ++++ doc-linux-fr-2013.01/fcol-faq/to_tex.xsl +@@ -17,7 +17,7 @@ See the file COPYING for copying conditi + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns="http://www.tug.org"> + +- <xsl:output method="text" indent="no" encoding="iso-8859-1"/> ++ <xsl:output method="text" indent="no" encoding="utf-8"/> + + <xsl:strip-space elements="*"/> + diff -Nru doc-linux-fr-2013.01/debian/patches/series doc-linux-fr-2013.01/debian/patches/series --- doc-linux-fr-2013.01/debian/patches/series 2016-02-11 00:09:32.000000000 +0100 +++ doc-linux-fr-2013.01/debian/patches/series 2022-01-18 10:04:54.000000000 +0100 @@ -6,3 +6,4 @@ 0006-Use-local-resolver-thus-avoiding-network-access.patch 0007-Use-proper-www.oasis-open.org-URL.patch 0008-Workaround-incorrect-detection-of-ISO-8859-files.patch +fix_ftbfs_utf8.patch

