diff -Nru hedgewars-1.0.0/debian/changelog hedgewars-1.0.0/debian/changelog --- hedgewars-1.0.0/debian/changelog 2022-03-19 17:39:38.000000000 +0000 +++ hedgewars-1.0.0/debian/changelog 2022-06-26 21:54:37.000000000 +0000 @@ -1,3 +1,13 @@ +hedgewars (1.0.0-16+rpi1) bookworm-staging; urgency=medium + + [changes brought forward from 1.0.0-4+rpi1 by Peter Michael Green at Sun, 24 Nov 2019 13:14:55 +0000] + * Force use of C.UTF-8 locale, the build fails under some locales (e.g. POSIX). + + [changes introduced in 1.0.0-16+rpi1 by Peter Michael Green] + * Forve build with clang 11, newer versions cause armv7 contamination. + + -- Peter Micheal Green Sun, 26 Jun 2022 21:54:37 +0000 + hedgewars (1.0.0-16) unstable; urgency=medium * Override dwz again, FTBFS on armhf and ppc64el diff -Nru hedgewars-1.0.0/debian/control hedgewars-1.0.0/debian/control --- hedgewars-1.0.0/debian/control 2020-10-20 20:07:53.000000000 +0000 +++ hedgewars-1.0.0/debian/control 2022-06-26 21:54:37.000000000 +0000 @@ -6,7 +6,7 @@ Gianfranco Costamagna Standards-Version: 4.5.0 Build-Depends: cmake, - clang [armel armhf i386 mipsel ppc64el], + clang-11 [armel armhf i386 mipsel ppc64el], debhelper-compat (= 12), dpkg-dev (>= 1.16.1~), fp-compiler [!armel !armhf !i386 !mipsel !ppc64el], diff -Nru hedgewars-1.0.0/debian/patches/build-with-clang-11-to-avoid-armv7-conta.patch hedgewars-1.0.0/debian/patches/build-with-clang-11-to-avoid-armv7-conta.patch --- hedgewars-1.0.0/debian/patches/build-with-clang-11-to-avoid-armv7-conta.patch 1970-01-01 00:00:00.000000000 +0000 +++ hedgewars-1.0.0/debian/patches/build-with-clang-11-to-avoid-armv7-conta.patch 2022-06-26 21:54:37.000000000 +0000 @@ -0,0 +1,19 @@ +From: Peter Michael Green +Date: Sun, 26 Jun 2022 21:56:04 +0000 +X-Dgit-Generated: 1.0.0-16+rpi1 9d314ffa1cf878c01cd334d1258e52b89ad53d6e +Subject: Build with clang 11 to avoid armv7 contamination. + + +--- + +--- hedgewars-1.0.0.orig/cmake_modules/FindClang.cmake ++++ hedgewars-1.0.0/cmake_modules/FindClang.cmake +@@ -11,7 +11,7 @@ + # For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + find_program(CLANG_EXECUTABLE +- NAMES clang-mp-3.3 clang-mp-3.2 clang-mp-3.1 clang-mp-3.0 clang ++ NAMES clang-11 + PATHS /opt/local/bin /usr/local/bin /usr/bin) + + if (CLANG_EXECUTABLE) diff -Nru hedgewars-1.0.0/debian/patches/series hedgewars-1.0.0/debian/patches/series --- hedgewars-1.0.0/debian/patches/series 2022-02-03 13:58:12.000000000 +0000 +++ hedgewars-1.0.0/debian/patches/series 2022-06-26 21:54:37.000000000 +0000 @@ -8,3 +8,4 @@ f09db263bc2a.patch #aa011799cb63.patch ffmpeg-5.0-compat.patch +build-with-clang-11-to-avoid-armv7-conta.patch diff -Nru hedgewars-1.0.0/debian/rules hedgewars-1.0.0/debian/rules --- hedgewars-1.0.0/debian/rules 2022-03-19 17:39:38.000000000 +0000 +++ hedgewars-1.0.0/debian/rules 2022-06-26 21:54:37.000000000 +0000 @@ -1,5 +1,7 @@ #!/usr/bin/make -f +export LC_ALL=C.UTF-8 + %: dh $@