Update package version to 2.41

This commit is contained in:
2025-04-13 14:37:33 +03:00
parent 61239d0a16
commit e599c9f735
2 changed files with 11 additions and 3 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
name: glibc name: glibc
description: The GNU C Library description: The GNU C Library
version: 2.39 version: 2.41
revision: 2
url: https://www.gnu.org/software/libc/ url: https://www.gnu.org/software/libc/
license: GPL2-or-later license: GPL2-or-later
architecture: any architecture: any
make_depends: ["bash","binutils","bison","coreutils","diffutils","gawk","gcc","gettext","grep","gzip","make","perl","python3","sed","texinfo"] make_depends: ["bash","binutils","bison","coreutils","diffutils","gawk","gcc","gettext","grep","gzip","make","perl","python3","sed","texinfo"]
provides: ["libc"]
type: source type: source
+9 -1
View File
@@ -20,7 +20,7 @@ build() {
echo "rootsbindir=/usr/sbin" > configparms echo "rootsbindir=/usr/sbin" > configparms
../configure --prefix=/usr \ ../configure --prefix=/usr \
--disable-werror \ --disable-werror \
--enable-kernel=4.19 \ --enable-kernel=5.4 \
--enable-stack-protector=strong \ --enable-stack-protector=strong \
--disable-nscd \ --disable-nscd \
libc_cv_slibdir=/usr/lib libc_cv_slibdir=/usr/lib
@@ -31,6 +31,10 @@ build() {
# The check function is executed in the source directory # The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly # This function is used to run tests to verify the package has been compiled correctly
check() { 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 cd build
make check 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
ln -sf ../lib/ld-linux-x86-64.so.2 "$BPM_OUTPUT"/lib64/ld-lsb-x86_64.so.3 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 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
} }