diff options
author | Cem Keylan <cem@ckyln.com> | 2021-02-13 16:21:17 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-02-13 16:21:17 +0300 |
commit | 03d41e029e7fe9f4f13003e435aa4973c6c27eb0 (patch) | |
tree | f8753fa689fbab04c3ed357a561c33e4e79e884c /core/e2fsprogs/patches/fix-musl.patch | |
parent | f3e34b5a2791dbec7046c994ea01a7b22c4bd018 (diff) | |
download | repository-03d41e029e7fe9f4f13003e435aa4973c6c27eb0.tar.gz |
e2fsprogs: bump to 1.46.1
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 |