From ec93e7380a4d024ec38fe80bcbcb505ddc6d055f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 4 Aug 2022 12:41:23 +0200 Subject: core/glibc: rebuilding with locale generation --- core/glibc/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'core/glibc') 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 -- cgit v1.2.3-70-g09d2