1 |
commit: b53bb3b14ff55d4f733cf1d68fa999bbd1a781f8 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 7 06:47:23 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 7 06:47:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b53bb3b1 |
7 |
|
8 |
dev-libs/elfutils: add more metadata/information to musl patches |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
.../files/musl/elfutils-0.185-error-h.patch | 21 +++------------------ |
13 |
.../elfutils/files/musl/elfutils-0.185-macros.patch | 2 ++ |
14 |
.../files/musl/elfutils-0.185-strndupa.patch | 2 ++ |
15 |
3 files changed, 7 insertions(+), 18 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/elfutils/files/musl/elfutils-0.185-error-h.patch b/dev-libs/elfutils/files/musl/elfutils-0.185-error-h.patch |
18 |
index b9ee9b6e35a..2be63fca48d 100644 |
19 |
--- a/dev-libs/elfutils/files/musl/elfutils-0.185-error-h.patch |
20 |
+++ b/dev-libs/elfutils/files/musl/elfutils-0.185-error-h.patch |
21 |
@@ -1,20 +1,11 @@ |
22 |
+Should be obsolete with the next release (0.186?). |
23 |
+ |
24 |
https://raw.githubusercontent.com/gentoo/musl/master/dev-libs/elfutils/files/0.178/musl-error_h.patch |
25 |
+https://sourceware.org/bugzilla/show_bug.cgi?id=21008 |
26 |
|
27 |
-From 9cb8fad40329cc6445233af0b6ac3f2adde19c65 Mon Sep 17 00:00:00 2001 |
28 |
-From: |
29 |
Date: Thu, 12 Dec 2019 22:00:47 -0600 |
30 |
Subject: [PATCH 9/9] Add hacked up error header for non GLIBC machines |
31 |
|
32 |
---- |
33 |
- lib/error.h | 27 +++++++++++++++++++++++++++ |
34 |
- src/error.h | 27 +++++++++++++++++++++++++++ |
35 |
- 2 files changed, 54 insertions(+) |
36 |
- create mode 100644 lib/error.h |
37 |
- create mode 100644 src/error.h |
38 |
- |
39 |
-diff --git a/lib/error.h b/lib/error.h |
40 |
-new file mode 100644 |
41 |
-index 0000000..ef06827 |
42 |
--- /dev/null |
43 |
+++ b/lib/error.h |
44 |
@@ -0,0 +1,27 @@ |
45 |
@@ -45,9 +36,6 @@ index 0000000..ef06827 |
46 |
+} |
47 |
+ |
48 |
+#endif /* _ERROR_H_ */ |
49 |
-diff --git a/src/error.h b/src/error.h |
50 |
-new file mode 100644 |
51 |
-index 0000000..ef06827 |
52 |
--- /dev/null |
53 |
+++ b/src/error.h |
54 |
@@ -0,0 +1,27 @@ |
55 |
@@ -78,6 +66,3 @@ index 0000000..ef06827 |
56 |
+} |
57 |
+ |
58 |
+#endif /* _ERROR_H_ */ |
59 |
--- |
60 |
-2.24.1 |
61 |
- |
62 |
|
63 |
diff --git a/dev-libs/elfutils/files/musl/elfutils-0.185-macros.patch b/dev-libs/elfutils/files/musl/elfutils-0.185-macros.patch |
64 |
index 3dbfdb6f7b3..6ab2e96548b 100644 |
65 |
--- a/dev-libs/elfutils/files/musl/elfutils-0.185-macros.patch |
66 |
+++ b/dev-libs/elfutils/files/musl/elfutils-0.185-macros.patch |
67 |
@@ -1,3 +1,5 @@ |
68 |
+May not be required (or at least some hunks) with next release (0.186?) |
69 |
+ |
70 |
https://git.alpinelinux.org/aports/plain/main/elfutils/musl-macros.patch |
71 |
--- a/src/arlib.h |
72 |
+++ b/src/arlib.h |
73 |
|
74 |
diff --git a/dev-libs/elfutils/files/musl/elfutils-0.185-strndupa.patch b/dev-libs/elfutils/files/musl/elfutils-0.185-strndupa.patch |
75 |
index 4175e28fd62..030bc779c61 100644 |
76 |
--- a/dev-libs/elfutils/files/musl/elfutils-0.185-strndupa.patch |
77 |
+++ b/dev-libs/elfutils/files/musl/elfutils-0.185-strndupa.patch |
78 |
@@ -1,3 +1,5 @@ |
79 |
+Should be fixed in next release (0.186?). |
80 |
+ |
81 |
https://sourceware.org/git/?p=elfutils.git;a=commit;h=e7e4c92650892cf67210be5ea89ffba967427cbf |
82 |
https://git.alpinelinux.org/aports/plain/main/elfutils/musl-strndupa.patch |
83 |
--- a/src/unstrip.c |