diff --git a/debian/patches/0009-Ignore-errors-during-lconvert.patch b/debian/patches/0009-Ignore-errors-during-lconvert.patch new file mode 100644 index 0000000..8bd8f7d --- /dev/null +++ b/debian/patches/0009-Ignore-errors-during-lconvert.patch @@ -0,0 +1,26 @@ +From: Jochen Sprickerhof +Date: Sat, 25 Jun 2022 21:22:20 +0200 +Subject: Ignore errors during lconvert + +Starting with qt5 5.15.4 lconvert errors with + +QM-Format error + +for some calls and thus thus fails the build. +--- + gui/package_app | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gui/package_app b/gui/package_app +index 01c00eb..f7829f6 100755 +--- a/gui/package_app ++++ b/gui/package_app +@@ -50,7 +50,7 @@ function convert_qt_translations() + inputs+=("qtbase_${language}.qm") + if [ -e "qtdeclarative_${language}.qm" ]; then inputs+=("qtdeclarative_${language}.qm"); fi + if [ -e "qtserialport_${language}.qm" ]; then inputs+=("qtserialport_${language}.qm"); fi +- "${LCONVERT}" -o "${LANGDIR}/qt_${language}.qm" "${inputs[@]}" ++ "${LCONVERT}" -o "${LANGDIR}/qt_${language}.qm" "${inputs[@]}" || true + + if [ "${machine}" = "Mac" ]; then + # Create locversion.plist in the bundle to trigger translations for diff --git a/debian/patches/series b/debian/patches/series index 5cd9d3b..233dc29 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ 0007-Add-workaround-for-failing-test-on-i386.patch 0008-Add-Debian-build-flags.patch 831.patch +0009-Ignore-errors-during-lconvert.patch