Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-08-07 17:15:43 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-08-07 17:15:43 +0200
commit77d55d4bdc6b2f086e8d1296d55cfa4e07ebf8dd (patch)
tree3ce8dbe3061d2900f1a7925f249fb9a059b10dd2
parent509273bdb92fecfedbf6065944be0d6c052a5313 (diff)
core/libarchive: explicit locale for failing tests
-rw-r--r--core/libarchive/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/libarchive/PKGBUILD b/core/libarchive/PKGBUILD
index 7d0a99db..820c5b36 100644
--- a/core/libarchive/PKGBUILD
+++ b/core/libarchive/PKGBUILD
@@ -11,3 +11,11 @@ eval "$(
'
)"
+# tests fail if we don't set the locale excplicitely (most likely due
+# to old devtools32)
+eval "$(
+ declare -f check | \
+ sed '
+ s/\(make check\)/LANG=en_US.UTF-8 LC_ALL=$LANG \1/g
+ '
+)"