ports/core (3.7): glibc: fix generation of C.UTF-8
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 4d3b105ee2ba47cbfda90fc88110136abb417a75 Author: Tim Biermann <tbier@posteo.de> Date: Mon Feb 14 15:32:46 2022 +0100 glibc: fix generation of C.UTF-8 diff --git a/glibc/.signature b/glibc/.signature index 562fefbb..7bb7b486 100644 --- a/glibc/.signature +++ b/glibc/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/core.pub -RWRJc1FUaeVeqmNr+q4edjlASjzn77bAGynex2pdWLDzrghEQu/e4h+RxvyRDx4bizz0cd6+hP3ScpoQKUsBJCoocRa+X+KtZAM= -SHA256 (Pkgfile) = 64f6796c8468cd5cadbccd231d5eee13ca9080b9cd9d7d6f41c26c7ba116dee6 +RWRJc1FUaeVeqo/w69YhoGHQ49LeTbxiBb+qTSk5Utycnk6T5DUF013/aXwDDu34kPeVAB6yiKj+pgvyEi00hcpnbZFZNe9wcwc= +SHA256 (Pkgfile) = 5aa5ce5aafe89f530f8c2205e18d0476c4cdb031c0f7a603299e24b0d7b701f3 SHA256 (.footprint) = 18acf8b44f896a471a6aa3dbae84067f21e7cd650f5489ca26fa6026441d9aa2 SHA256 (glibc-2.35.tar.xz) = 5123732f6b67ccd319305efd399971d58592122bcc2a6518a1bd2510dd0cf52e SHA256 (linux-5.15.21.tar.xz) = 294eeb6cd7dc9b144c3c3c8b8c7b3fca9c6b072b6ed9bf9d6c922f9deb70fbd1 diff --git a/glibc/Pkgfile b/glibc/Pkgfile index cc894f9a..8a279bc4 100644 --- a/glibc/Pkgfile +++ b/glibc/Pkgfile @@ -53,10 +53,12 @@ build() { install -Dm755 $SRC/locale-gen $PKG/usr/sbin/locale-gen install -Dm644 $SRC/locale.gen.in $PKG/etc/locale.gen - $PKG/usr/bin/localedef \ + cp $PKG/usr/share/i18n/charmaps/UTF-8.gz . + gzip -d UTF-8.gz + LC_ALL=C ./elf/ld.so --library-path . $PKG/usr/bin/localedef \ --force --quiet \ - --inputfile POSIX \ - --charmap UTF-8 \ + --inputfile=$PKG/usr/share/i18n/locales/C \ + --charmap=./UTF-8 \ $PKG/usr/lib/locale/C.UTF-8 || true rm -r $PKG/usr/share/locale \
participants (1)
-
crux@crux.nu