core/glibc to 2.35-6

This commit is contained in:
Kevin Mihelich 2022-06-06 23:38:33 +00:00
parent 34d7a1ad79
commit 670d5fc426
2 changed files with 13 additions and 4 deletions

View file

@ -16,8 +16,8 @@ noautobuild=1
pkgname=glibc pkgname=glibc
pkgver=2.35 pkgver=2.35
_commit=28ea43f8d64f0dd1f2de75525157730e1532e600 _commit=d7d1eebd4d5806be55ffacbf18917ad68d4ae7fd
pkgrel=5.1 pkgrel=6
arch=(x86_64) arch=(x86_64)
url='https://www.gnu.org/software/libc' url='https://www.gnu.org/software/libc'
license=(GPL LGPL) license=(GPL LGPL)
@ -33,7 +33,7 @@ validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8 # Carlos O'Donell
BC7C7372637EC10C57D7AA6579C43DFBF1CF2187) # Siddhesh Poyarekar BC7C7372637EC10C57D7AA6579C43DFBF1CF2187) # Siddhesh Poyarekar
b2sums=('SKIP' b2sums=('SKIP'
'46d533d25c7a2ce4ae75d452eee7ebb8e3ce4d191af9be3daa43718b78cb81d33cfd8046a117a15d87de9f5e940448c66005b0490515bf731c9e4691c53908d6' '46d533d25c7a2ce4ae75d452eee7ebb8e3ce4d191af9be3daa43718b78cb81d33cfd8046a117a15d87de9f5e940448c66005b0490515bf731c9e4691c53908d6'
'1f6d927b4972220b1c00abee5329c5d6bc01ed5bee57b20db0c7d7433292f7d666b02baf9968267f8e378b1f3bb273e8eef0ccbf22d21400ac36949d7615a474' '04fbb3b0b28705f41ccc6c15ed5532faf0105370f22133a2b49867e790df0491f5a1255220ff6ebab91a462f088d0cf299491b3eb8ea53534cb8638a213e46e3'
'a6a5e2f2a627cc0d13d11a82458cfd0aa75ec1c5a3c7647e5d5a3bb1d4c0770887a3909bfda1236803d5bc9801bfd6251e13483e9adf797e4725332cd0d91a0e' 'a6a5e2f2a627cc0d13d11a82458cfd0aa75ec1c5a3c7647e5d5a3bb1d4c0770887a3909bfda1236803d5bc9801bfd6251e13483e9adf797e4725332cd0d91a0e'
'214e995e84b342fe7b2a7704ce011b7c7fc74c2971f98eeb3b4e677b99c860addc0a7d91b8dc0f0b8be7537782ee331999e02ba48f4ccc1c331b60f27d715678' '214e995e84b342fe7b2a7704ce011b7c7fc74c2971f98eeb3b4e677b99c860addc0a7d91b8dc0f0b8be7537782ee331999e02ba48f4ccc1c331b60f27d715678'
'edef5f724f68ea95c6b0127bd13a10245f548afc381b2d0a6d1d06ee9f87b7dd89c6becd35d5ae722bf838594eb870a747f67f07f46e7d63f8c8d1a43cce4a52') 'edef5f724f68ea95c6b0127bd13a10245f548afc381b2d0a6d1d06ee9f87b7dd89c6becd35d5ae722bf838594eb870a747f67f07f46e7d63f8c8d1a43cce4a52')
@ -97,6 +97,10 @@ build() {
# build info pages manually for reproducibility # build info pages manually for reproducibility
make info make info
# 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/
} }
# Credits for skip_test() and check() @allanmcrae # Credits for skip_test() and check() @allanmcrae
@ -164,6 +168,11 @@ package() {
sed -e '1,3d' -e 's|/| |g' -e 's|\\| |g' -e 's|^|#|g' \ sed -e '1,3d' -e 's|/| |g' -e 's|\\| |g' -e 's|^|#|g' \
"$srcdir/glibc/localedata/SUPPORTED" >> "$pkgdir/etc/locale.gen" "$srcdir/glibc/localedata/SUPPORTED" >> "$pkgdir/etc/locale.gen"
# install C.UTF-8 so that it is always available
install -dm755 "$pkgdir/usr/lib/locale"
cp -r "$srcdir/C.UTF-8" -t "$pkgdir/usr/lib/locale"
sed -i '/#C\.UTF-8 /d' "$pkgdir/etc/locale.gen"
# Provide tracing probes to libstdc++ for exceptions, possibly for other # Provide tracing probes to libstdc++ for exceptions, possibly for other
# libraries too. Useful for gdb's catch command. # libraries too. Useful for gdb's catch command.
install -Dm644 "$srcdir/sdt.h" "$pkgdir/usr/include/sys/sdt.h" install -Dm644 "$srcdir/sdt.h" "$pkgdir/usr/include/sys/sdt.h"

View file

@ -13,7 +13,7 @@ fi
# Remove all old locale dir and locale-archive before generating new # Remove all old locale dir and locale-archive before generating new
# locale data. # locale data.
rm -rf /usr/lib/locale/* || true rm -rf /usr/lib/locale/locale-archive || true
umask 022 umask 022