summaryrefslogtreecommitdiffstats
path: root/debian/patches/slof-ensure-ld-is-called-with-C-locale.patch
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2025-06-06 10:05:27 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2025-06-06 10:05:27 +0000
commit43904a02caeb311a505bbb5ffa431ea9859db5f4 (patch)
treecd841d75f639d9092243b0d02a3bb93cbdea5804 /debian/patches/slof-ensure-ld-is-called-with-C-locale.patch
parentAdding upstream version 1:7.2+dfsg. (diff)
downloadqemu-debian.tar.xz
qemu-debian.zip
Adding debian version 1:7.2+dfsg-7+deb12u13.debian/1%7.2+dfsg-7+deb12u13debian
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r--debian/patches/slof-ensure-ld-is-called-with-C-locale.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/slof-ensure-ld-is-called-with-C-locale.patch b/debian/patches/slof-ensure-ld-is-called-with-C-locale.patch
new file mode 100644
index 00000000..ed8018ca
--- /dev/null
+++ b/debian/patches/slof-ensure-ld-is-called-with-C-locale.patch
@@ -0,0 +1,20 @@
+From: Vagrant Cascadian <vagrant@reproducible-builds.org>
+Date: Mon, 22 Jun 2020 00:40:39 +0000
+X-Dgit-Generated: 1:5.0-6~0~20200622~0 973dc2cba2b12d0fc4706ad75af36abcab4f6da9
+Subject: slof/Makefile.gen: Ensure ld is called with the C locale.
+
+The output of "ld -V" changes based on the environment's locale.
+
+---
+
+--- qemu-5.0.orig/roms/SLOF/Makefile.gen
++++ qemu-5.0/roms/SLOF/Makefile.gen
+@@ -62,7 +62,7 @@ romfs_build:
+ ../build_info.img:
+ @echo "$(CC)" > ../build_info.img
+ @$(CC) -v >> ../build_info.img 2>&1
+- @$(LD) -V >> ../build_info.img 2>&1
++ @LC_ALL=C $(LD) -V >> ../build_info.img 2>&1
+
+ ../$(SUBBOARD).dtb:
+ @if [ -e dts/$(SUBBOARD).dts ]; then \