commit: 020e559e8a8f1b39c1553322ee6247a537e1e5e5
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 3 17:48:41 2020 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Feb 3 17:48:41 2020 +0000
URL: https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=020e559e
mariadb: Add new patch for binutil-libs 2.34 API change
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
20039_all_mariadb-binutil-libs-2.34.patch | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/20039_all_mariadb-binutil-libs-2.34.patch
b/20039_all_mariadb-binutil-libs-2.34.patch
new file mode 100644
index 0000000..0e57b3e
--- /dev/null
+++ b/20039_all_mariadb-binutil-libs-2.34.patch
@@ -0,0 +1,23 @@
+--- a/mysys/my_addr_resolve.c
++++ b/mysys/my_addr_resolve.c
+@@ -74,11 +74,20 @@ int my_addr_resolve(void *ptr, my_addr_loc *loc)
+ {
+ bfd_vma start;
+
++#ifdef bfd_get_section_flags
+ if ((bfd_get_section_flags(bfdh, sec) & SEC_ALLOC) == 0)
++#else
++ if ((bfd_section_flags(sec) & SEC_ALLOC) == 0)
++#endif
+ continue;
+
++#ifdef bfd_get_section_vma
+ start = bfd_get_section_vma(bfdh, sec);
+ if (addr < start || addr >= start + bfd_get_section_size(sec))
++#else
++ start = bfd_section_vma(sec);
++ if (addr < start || addr >= start + bfd_section_size(sec))
++#endif
+ continue;
+
+ if (bfd_find_nearest_line(bfdh, sec, symtable, addr - start,