[arch-commits] Commit in glibc/trunk (PKGBUILD)

Frederik Schwan freswa at gemini.archlinux.org
Thu Aug 11 16:24:48 UTC 2022


    Date: Thursday, August 11, 2022 @ 16:24:48
  Author: freswa
Revision: 452572

fix generation of locale files with localedef compiled against a different glibc version than installed

credits @Toolybird

Modified:
  glibc/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-11 16:00:06 UTC (rev 452571)
+++ PKGBUILD	2022-08-11 16:24:48 UTC (rev 452572)
@@ -116,8 +116,8 @@
   make -O
 
   # pregenerate C.UTF-8 locale until it is built into glibc
-  # (https://sourceware.org/glibc/wiki/Proposals/C.UTF-8, FS#74864)
-  locale/localedef -c -f ../glibc/localedata/charmaps/UTF-8 -i ../glibc/localedata/locales/C ../C.UTF-8/
+  # (https://sourceware.org/glibc/wiki/Proposals/C.UTF-8, FS#74864)-
+  elf/ld.so --library-path "$PWD" locale/localedef -c -f ../glibc/localedata/charmaps/UTF-8 -i ../glibc/localedata/locales/C ../C.UTF-8/
 }
 
 # Credits for skip_test() and check() @allanmcrae



More information about the arch-commits mailing list