summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaco Kroon <jaco@uls.co.za>2020-04-01 09:10:16 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-04-01 17:37:34 +0300
commit442d02e2a7756ab45d5b6916d92c9387ab45771e (patch)
tree3b6a2b0e48522621be036c317026cab9a0faa5e0 /net-misc
parentnet-proxy/trojan: version bump to 1.15.1 (diff)
downloadgentoo-442d02e2a7756ab45d5b6916d92c9387ab45771e.tar.gz
gentoo-442d02e2a7756ab45d5b6916d92c9387ab45771e.tar.bz2
gentoo-442d02e2a7756ab45d5b6916d92c9387ab45771e.zip
net-misc/asterisk: further fix for binutils-2.34 on 13.32.0
Closes: https://bugs.gentoo.org/713840 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jaco Kroon <jaco@uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/15192 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/asterisk/files/asterisk-13.32.0-binutils-2.34.patch11
1 files changed, 6 insertions, 5 deletions
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
index 5be532bf804f..6ce797ca4f2d 100644
--- 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
@@ -1,8 +1,6 @@
-diff --git a/main/backtrace.c b/main/backtrace.c
-index 2623d7f..1bc9bea 100644
---- a/main/backtrace.c
-+++ b/main/backtrace.c
-@@ -59,6 +59,12 @@
+--- a/main/backtrace.c 2020-03-12 07:37:03.000000000 -0700
++++ b/main/backtrace.c 2020-03-31 23:22:18.272691980 -0700
+@@ -64,6 +64,15 @@
#if defined(HAVE_DLADDR) && defined(HAVE_BFD) && defined(BETTER_BACKTRACES)
#include <dlfcn.h>
#include <bfd.h>
@@ -12,6 +10,9 @@ index 2623d7f..1bc9bea 100644
+#ifndef bfd_get_section_vma
+#define bfd_get_section_vma(x, y) bfd_section_vma(y)
+#endif
++#ifndef bfd_get_section_flags
++#define bfd_get_section_flags(bfd, ptr) ((void) bfd, (ptr)->flags)
++#endif
#endif
#include <pthread.h>