Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (9437dd50c0f9d9f774ea7da6509862d261a246af)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Treeve Jelbert <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (9437dd50c0f9d9f774ea7da6509862d261a246af)
  • Date: Tue, 9 Feb 2021 09:02:48 +0000

GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:

libs/elfutils/DETAILS | 2 -
libs/elfutils/HISTORY | 4 +++
libs/elfutils/patches/musl-qsort_r.patch | 34
----------------------------
libs/elfutils/patches/musl-strerror_r.patch | 21 -----------------
4 files changed, 5 insertions(+), 56 deletions(-)

New commits:
commit 9437dd50c0f9d9f774ea7da6509862d261a246af
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>

elfutils: => 0.183

diff --git a/libs/elfutils/DETAILS b/libs/elfutils/DETAILS
index def0cfd..da400f6 100755
--- a/libs/elfutils/DETAILS
+++ b/libs/elfutils/DETAILS
@@ -1,5 +1,5 @@
SPELL=elfutils
- VERSION=0.182
+ VERSION=0.183
SECURITY_PATCH=1
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE2=$SOURCE.sig
diff --git a/libs/elfutils/HISTORY b/libs/elfutils/HISTORY
index 4015b47..fac6ff6 100644
--- a/libs/elfutils/HISTORY
+++ b/libs/elfutils/HISTORY
@@ -1,3 +1,7 @@
+2021-02-08 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 0.183
+ * musl-qsort_r.patch musl-strerror_r.patch: deleted, do not apply
+
2020-12-25 Ismael Luceno <ismael AT iodev.co.uk>
* BUILD: disable libdebuginfod too
* patches/musl-cdefs.patch: Added patch again, fixed
diff --git a/libs/elfutils/patches/musl-qsort_r.patch
b/libs/elfutils/patches/musl-qsort_r.patch
deleted file mode 100644
index cde7e85..0000000
--- a/libs/elfutils/patches/musl-qsort_r.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Origin: Void-Linux; modified
-
---- a/src/readelf.c
-+++ b/src/readelf.c
-@@ -4773,10 +4773,12 @@ listptr_base (struct listptr *p)
- return cudie_base (&cu);
- }
-
-+static const char *listptr_name;
-+
- static int
--compare_listptr (const void *a, const void *b, void *arg)
-+compare_listptr (const void *a, const void *b)
- {
-- const char *name = arg;
-+ const char *name = listptr_name;
- struct listptr *p1 = (void *) a;
- struct listptr *p2 = (void *) b;
-
-@@ -4885,9 +4886,11 @@ notice_listptr (enum section_e section, struct
listptr_table *table,
- static void
- sort_listptr (struct listptr_table *table, const char *name)
- {
-- if (table->n > 0)
-- qsort_r (table->table, table->n, sizeof table->table[0],
-- &compare_listptr, (void *) name);
-+ if (table->n > 0) {
-+ listptr_name = name;
-+ qsort (table->table, table->n, sizeof table->table[0],
-+ &compare_listptr);
-+ }
- }
-
- static bool
diff --git a/libs/elfutils/patches/musl-strerror_r.patch
b/libs/elfutils/patches/musl-strerror_r.patch
deleted file mode 100644
index 9feb751..0000000
--- a/libs/elfutils/patches/musl-strerror_r.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Origin: Void-Linux
-
---- a/libdwfl/dwfl_error.c
-+++ b/libdwfl/dwfl_error.c
-@@ -154,7 +154,16 @@
- switch (error &~ 0xffff)
- {
- case OTHER_ERROR (ERRNO):
-+#if defined(__GLIBC__)
- return strerror_r (error & 0xffff, "bad", 0);
-+#else
-+ {
-+ static __thread char buf[128] = "";
-+ if (0 == strerror_r(error & 0xffff, buf, sizeof(buf)))
-+ return buf;
-+ }
-+ return "strerror_r() failed";
-+#endif
- case OTHER_ERROR (LIBELF):
- return elf_errmsg (error & 0xffff);
- case OTHER_ERROR (LIBDW):



  • [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (9437dd50c0f9d9f774ea7da6509862d261a246af), Treeve Jelbert, 02/09/2021

Archive powered by MHonArc 2.6.24.

Top of Page