From 592b40a6c9bf084a95369f0bfdb3084cfdbb600d Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 30 Jan 2022 18:56:42 +0000 Subject: added ADDITIONAL patch --- repo/system/glibc.xibuild | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'repo/system/glibc.xibuild') diff --git a/repo/system/glibc.xibuild b/repo/system/glibc.xibuild index 24255a2..c5cfd74 100644 --- a/repo/system/glibc.xibuild +++ b/repo/system/glibc.xibuild @@ -5,16 +5,18 @@ DEPS=(glibc) PKG_VER=2.34 SOURCE=https://ftp.gnu.org/gnu/glibc/glibc-$PKG_VER.tar.xz + +ADDITIONAL=( + https://www.linuxfromscratch.org/patches/lfs/development/glibc-$PKG_VER-fhs-1.patch + https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/glibc/trunk/locale-gen + ) + DESC="The main gnu C library providing basic routines and procedures" prepare () { # patches as recommended by lfs sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' -i sysdeps/unix/sysv/linux/mq_notify.c - - curl https://www.linuxfromscratch.org/patches/lfs/development/glibc-$PKG_VER-fhs-1.patch > glibc-$PKG_VER-fhs-1.patch - - patch -Np1 -i glibc-$PKG_VER-fhs-1.patch - + patch -Np1 -i glibc-$PKG_VER-fhs-1.patch || exit 1 } build () { @@ -74,9 +76,8 @@ rpc: files # End /etc/nsswitch.conf EOF - curl https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/glibc/trunk/locale-gen > locale-gen - - install -m755 locale-gen "$PKG_DEST/usr/bin" + curl + #install -m755 locale-gen "$PKG_DEST/usr/bin" #curl https://data.iana.org/time-zones/releases/tzdata2021e.tar.gz > tzdata2021e.tar.gz #tar -xf tzdata2021e.tar.gz -- cgit v1.2.1