repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit 80b426c236a6ffb74f813b7ef8f55eb28ddd203a
parent 4539c9d2d23774ea009557df7ea06d8c3e23e0f3
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed,  3 Feb 2021 12:15:32 +0300

e2fsprogs: bump to 1.46.0

Diffstat:
Mcore/e2fsprogs/build | 2++
Mcore/e2fsprogs/checksums | 3++-
Acore/e2fsprogs/patches/fix-musl.patch | 23+++++++++++++++++++++++
Mcore/e2fsprogs/sources | 3++-
Mcore/e2fsprogs/version | 2+-
5 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/core/e2fsprogs/build b/core/e2fsprogs/build @@ -3,6 +3,8 @@ export CFLAGS="$CFLAGS -static" export LDFLAGS="$LDFLAGS -static" +patch -p1 < fix-musl.patch + ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ diff --git a/core/e2fsprogs/checksums b/core/e2fsprogs/checksums @@ -1 +1,2 @@ -ffa7ae6954395abdc50d0f8605d8be84736465afc53b8938ef473fcf7ff44256 e2fsprogs-1.45.6.tar.xz +91d61cef9a251a18e49a700be0028a8d35b0549a25d2bc263af6fa5d9f7c7d13 e2fsprogs-1.46.0.tar.xz +3a6977348094c9629b2e62bc02ce77947cb11aa425e49d884debac16eca1258a fix-musl.patch diff --git a/core/e2fsprogs/patches/fix-musl.patch b/core/e2fsprogs/patches/fix-musl.patch @@ -0,0 +1,23 @@ +Previous versions only used qsort, so I am basically reverting this change +so that it works in Musl. qsort_r isn't defined in Musl. + +Cem Keylan + +--- a/e2fsck/rehash.c 2021-02-03 12:11:27.912285401 +0300 ++++ b/e2fsck/rehash.c 2021-02-03 12:12:18.213423881 +0300 +@@ -1048,11 +1048,11 @@ + /* Sort the list */ + resort: + if (fd.compress && fd.num_array > 1) +- qsort_r(fd.harray+2, fd.num_array-2, sizeof(struct hash_entry), +- hash_cmp, &name_cmp_ctx); ++ qsort(fd.harray+2, fd.num_array-2, sizeof(struct hash_entry), ++ hash_cmp); + else +- qsort_r(fd.harray, fd.num_array, sizeof(struct hash_entry), +- hash_cmp, &name_cmp_ctx); ++ qsort(fd.harray, fd.num_array, sizeof(struct hash_entry), ++ hash_cmp); + + /* + * Look for duplicates diff --git a/core/e2fsprogs/sources b/core/e2fsprogs/sources @@ -1 +1,2 @@ -https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.45.6/e2fsprogs-1.45.6.tar.xz +https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.46.0/e2fsprogs-1.46.0.tar.xz +patches/fix-musl.patch diff --git a/core/e2fsprogs/version b/core/e2fsprogs/version @@ -1 +1 @@ -1.45.6 1 +1.46.0 1