1 |
commit: 442d02e2a7756ab45d5b6916d92c9387ab45771e |
2 |
Author: Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za> |
3 |
AuthorDate: Wed Apr 1 07:10:16 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 1 14:37:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442d02e2 |
7 |
|
8 |
net-misc/asterisk: further fix for binutils-2.34 on 13.32.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/713840 |
11 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
12 |
Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/15192 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
net-misc/asterisk/files/asterisk-13.32.0-binutils-2.34.patch | 11 ++++++----- |
17 |
1 file changed, 6 insertions(+), 5 deletions(-) |
18 |
|
19 |
diff --git a/net-misc/asterisk/files/asterisk-13.32.0-binutils-2.34.patch b/net-misc/asterisk/files/asterisk-13.32.0-binutils-2.34.patch |
20 |
index 5be532bf804..6ce797ca4f2 100644 |
21 |
--- a/net-misc/asterisk/files/asterisk-13.32.0-binutils-2.34.patch |
22 |
+++ b/net-misc/asterisk/files/asterisk-13.32.0-binutils-2.34.patch |
23 |
@@ -1,8 +1,6 @@ |
24 |
-diff --git a/main/backtrace.c b/main/backtrace.c |
25 |
-index 2623d7f..1bc9bea 100644 |
26 |
---- a/main/backtrace.c |
27 |
-+++ b/main/backtrace.c |
28 |
-@@ -59,6 +59,12 @@ |
29 |
+--- a/main/backtrace.c 2020-03-12 07:37:03.000000000 -0700 |
30 |
++++ b/main/backtrace.c 2020-03-31 23:22:18.272691980 -0700 |
31 |
+@@ -64,6 +64,15 @@ |
32 |
#if defined(HAVE_DLADDR) && defined(HAVE_BFD) && defined(BETTER_BACKTRACES) |
33 |
#include <dlfcn.h> |
34 |
#include <bfd.h> |
35 |
@@ -11,6 +9,9 @@ index 2623d7f..1bc9bea 100644 |
36 |
+#endif |
37 |
+#ifndef bfd_get_section_vma |
38 |
+#define bfd_get_section_vma(x, y) bfd_section_vma(y) |
39 |
++#endif |
40 |
++#ifndef bfd_get_section_flags |
41 |
++#define bfd_get_section_flags(bfd, ptr) ((void) bfd, (ptr)->flags) |
42 |
+#endif |
43 |
#endif |