diff options
Diffstat (limited to 'core/e2fsprogs/patches/fix-musl.patch')
-rw-r--r-- | core/e2fsprogs/patches/fix-musl.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/core/e2fsprogs/patches/fix-musl.patch b/core/e2fsprogs/patches/fix-musl.patch deleted file mode 100644 index 5a53ed1b..00000000 --- a/core/e2fsprogs/patches/fix-musl.patch +++ /dev/null @@ -1,23 +0,0 @@ -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 |