Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/glibc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/glibc/PKGBUILD')
-rw-r--r--core/glibc/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD
index bae7a05f..12ddad27 100644
--- a/core/glibc/PKGBUILD
+++ b/core/glibc/PKGBUILD
@@ -1,6 +1,7 @@
# remove lib32-* stuff
pkgname=(${pkgname[@]/lib32-*/})
+makedepends=(${makedepends[@]/lib32-*/})
unset -f 'package_lib32-glibc'
eval "$(
@@ -115,5 +116,13 @@ eval "$(
'
)"
+# readd locale generation removed by lib32 sed-fu above in build!
+eval "$(
+ declare -f build | \
+ sed '
+ $ i locale/localedef -c -f ../glibc/localedata/charmaps/UTF-8 -i ../glibc/localedata/locales/C ../C.UTF-8/
+ '
+)"
+
# ignoring tests for now
unset check