From e599c9f735f070462456db7ac00940391da63e90 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 13 Apr 2025 14:37:33 +0300 Subject: [PATCH] Update package version to 2.41 --- pkg.info | 4 ++-- source.sh | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index 3c5e987..0a685f2 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,9 @@ name: glibc description: The GNU C Library -version: 2.39 -revision: 2 +version: 2.41 url: https://www.gnu.org/software/libc/ license: GPL2-or-later architecture: any make_depends: ["bash","binutils","bison","coreutils","diffutils","gawk","gcc","gettext","grep","gzip","make","perl","python3","sed","texinfo"] +provides: ["libc"] type: source diff --git a/source.sh b/source.sh index 7acde3b..8bcaf96 100644 --- a/source.sh +++ b/source.sh @@ -20,7 +20,7 @@ build() { echo "rootsbindir=/usr/sbin" > configparms ../configure --prefix=/usr \ --disable-werror \ - --enable-kernel=4.19 \ + --enable-kernel=5.4 \ --enable-stack-protector=strong \ --disable-nscd \ libc_cv_slibdir=/usr/lib @@ -31,6 +31,10 @@ build() { # The check function is executed in the source directory # This function is used to run tests to verify the package has been compiled correctly check() { + # disable tests that take too long on most systems + sed -i "/tst-thread-affinity-pthread/d" nptl/Makefile + sed -i "/tst-thread-affinity-sched/d" nptl/Makefile + cd build make check } @@ -54,4 +58,8 @@ package() { ln -sf ../lib/ld-linux-x86-64.so.2 "$BPM_OUTPUT"/lib64 ln -sf ../lib/ld-linux-x86-64.so.2 "$BPM_OUTPUT"/lib64/ld-lsb-x86_64.so.3 chmod +x "$BPM_OUTPUT"/usr/bin/locale-gen + + install -Dm644 "$BPM_SOURCE"/LICENSES "$BPM_OUTPUT"/usr/share/licenses/glibc/LICENSES + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/glibc/COPYING + install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/glibc/COPYING.LIB }