mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
core/glibc to 2.38-4
This commit is contained in:
parent
21b0852229
commit
e035bb3fe4
1 changed files with 5 additions and 16 deletions
|
@ -16,8 +16,8 @@ noautobuild=1
|
|||
|
||||
pkgname=glibc
|
||||
pkgver=2.38
|
||||
_commit=6b99458d197ab779ebb6ff632c168e2cbfa4f543
|
||||
pkgrel=3
|
||||
_commit=0e1ef6779a90bc0f8a05bc367796df2793deecaa
|
||||
pkgrel=4
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libc'
|
||||
license=(GPL LGPL)
|
||||
|
@ -28,8 +28,6 @@ source=(git+https://sourceware.org/git/glibc.git#commit=${_commit}
|
|||
locale-gen
|
||||
sdt.h sdt-config.h
|
||||
reenable_DT_HASH.patch
|
||||
fix-malloc-p1.patch
|
||||
fix-malloc-p2.patch
|
||||
)
|
||||
validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8 # Carlos O'Donell
|
||||
BC7C7372637EC10C57D7AA6579C43DFBF1CF2187) # Siddhesh Poyarekar
|
||||
|
@ -38,9 +36,7 @@ b2sums=('SKIP'
|
|||
'04fbb3b0b28705f41ccc6c15ed5532faf0105370f22133a2b49867e790df0491f5a1255220ff6ebab91a462f088d0cf299491b3eb8ea53534cb8638a213e46e3'
|
||||
'a6a5e2f2a627cc0d13d11a82458cfd0aa75ec1c5a3c7647e5d5a3bb1d4c0770887a3909bfda1236803d5bc9801bfd6251e13483e9adf797e4725332cd0d91a0e'
|
||||
'214e995e84b342fe7b2a7704ce011b7c7fc74c2971f98eeb3b4e677b99c860addc0a7d91b8dc0f0b8be7537782ee331999e02ba48f4ccc1c331b60f27d715678'
|
||||
'35e03ed912e1b0cd23783ab83ce919412885c141344905b8b67bbad4a86c48cf3e893806060e48d5737514ff80cea0b58b0e1f15707c32224579c416dcd810c0'
|
||||
'28c983bcebc0eeeb37a60756ccee50d587a99d5e2100430d5c0ee51a19d9b2176a4013574a7d72b5857302fbb60d371bbf0b3cdb4fc700a1dbe3aae4a42b04b9'
|
||||
'c3e94f5b0999878ff472e32f49dc13c20eb9db68c633017cb7824617eb824cf6cff7ea53b92962926e0ee84fd39736616298dcb926356625dd124f3754e79932')
|
||||
'35e03ed912e1b0cd23783ab83ce919412885c141344905b8b67bbad4a86c48cf3e893806060e48d5737514ff80cea0b58b0e1f15707c32224579c416dcd810c0')
|
||||
|
||||
prepare() {
|
||||
mkdir -p glibc-build
|
||||
|
@ -52,9 +48,6 @@ prepare() {
|
|||
# which relies on DT_HASH to be present in these libs.
|
||||
# reconsider 2023-01
|
||||
patch -Np1 -i "${srcdir}"/reenable_DT_HASH.patch
|
||||
|
||||
patch -Np1 -i "${srcdir}"/fix-malloc-p1.patch
|
||||
patch -Np1 -i "${srcdir}"/fix-malloc-p2.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -67,6 +60,7 @@ build() {
|
|||
--disable-multi-arch
|
||||
--enable-stack-protector=strong
|
||||
--enable-systemtap
|
||||
--disable-nscd
|
||||
--disable-profile
|
||||
--disable-werror
|
||||
)
|
||||
|
@ -141,8 +135,7 @@ package() {
|
|||
'perl: for mtrace')
|
||||
install=glibc.install
|
||||
backup=(etc/gai.conf
|
||||
etc/locale.gen
|
||||
etc/nscd.conf)
|
||||
etc/locale.gen)
|
||||
|
||||
make -C glibc-build install_root="${pkgdir}" install
|
||||
rm -f "${pkgdir}"/etc/ld.so.cache
|
||||
|
@ -153,10 +146,6 @@ package() {
|
|||
cd glibc
|
||||
|
||||
install -dm755 "${pkgdir}"/usr/lib/{locale,systemd/system,tmpfiles.d}
|
||||
install -m644 nscd/nscd.conf "${pkgdir}"/etc/nscd.conf
|
||||
install -m644 nscd/nscd.service "${pkgdir}"/usr/lib/systemd/system
|
||||
install -m644 nscd/nscd.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/nscd.conf
|
||||
install -dm755 "${pkgdir}"/var/db/nscd
|
||||
|
||||
install -m644 posix/gai.conf "${pkgdir}"/etc/gai.conf
|
||||
|
||||
|
|
Loading…
Reference in a new issue