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-04 10:36:47 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-08-04 10:36:47 +0200
commit69baa117a3275b2fdad65d259fef1c53579d4f1f (patch)
tree871a1e874c7b577f9d5913e151008c3fbf920267
parent3f79cb94ce584afb9c55dec9aa8090c56c8a0c3f (diff)
core/glibc: workaround for broken symbols in localedef
-rw-r--r--core/glibc/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index 07f6e51f..546aa654 100644
--- a/core/glibc/PKGBUILD
+++ b/core/glibc/PKGBUILD
@@ -98,11 +98,12 @@ eval "$(
'
)"
-# readd C.UTF-8 locale generate with the removed lib32 sed above
+# have to rebuild twice because generate localdef called in build uses wrong
+# ABI resulting in:
+# "locale/localedef: /usr/lib/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by locale/localedef"
eval "$(
declare -f build | \
sed '
- $ i \
- locale/localedef -c -f ../glibc/localedata/charmaps/UTF-8 -i ../glibc/localedata/locales/C ../C.UTF-8/
+ /localedef/d
'
)"