From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4CCE1138350 for ; Mon, 3 Feb 2020 17:50:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 730DAE0869; Mon, 3 Feb 2020 17:50:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53FF7E0869 for ; Mon, 3 Feb 2020 17:50:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 34A7A34E66E for ; Mon, 3 Feb 2020 17:50:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37BA535 for ; Mon, 3 Feb 2020 17:50:14 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1580752121.020e559e8a8f1b39c1553322ee6247a537e1e5e5.grknight@gentoo> Subject: [gentoo-commits] proj/mysql-extras:master commit in: / X-VCS-Repository: proj/mysql-extras X-VCS-Files: 20039_all_mariadb-binutil-libs-2.34.patch X-VCS-Directories: / X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 020e559e8a8f1b39c1553322ee6247a537e1e5e5 X-VCS-Branch: master Date: Mon, 3 Feb 2020 17:50:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6e6d207c-2e9b-4f06-95ce-77ebfee43740 X-Archives-Hash: 1862daeda7c8408687dd1b93f2435028 commit: 020e559e8a8f1b39c1553322ee6247a537e1e5e5 Author: Brian Evans gentoo org> AuthorDate: Mon Feb 3 17:48:41 2020 +0000 Commit: Brian Evans gentoo 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 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,