commit:     3c8f5a6dcde5304dce19698d0c948c1d875b636d
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue May 19 21:30:09 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue May 19 21:30:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c8f5a6d

sys-devel/gdb: add missing include on ia64

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/gdb/files/gdb-9.1-ia64.patch | 15 +++++++++++++++
 sys-devel/gdb/gdb-9.1.ebuild           |  1 +
 2 files changed, 16 insertions(+)

diff --git a/sys-devel/gdb/files/gdb-9.1-ia64.patch 
b/sys-devel/gdb/files/gdb-9.1-ia64.patch
new file mode 100644
index 00000000000..49a21e4cdd2
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-9.1-ia64.patch
@@ -0,0 +1,15 @@
+https://sourceware.org/pipermail/gdb-patches/2020-May/168808.html
+
+--- a/gdb/ia64-linux-nat.c
++++ b/gdb/ia64-linux-nat.c
+@@ -21,6 +21,7 @@
+ #include "defs.h"
+ #include "inferior.h"
+ #include "target.h"
++#include "gdbarch.h"
+ #include "gdbcore.h"
+ #include "regcache.h"
+ #include "ia64-tdep.h"
+-- 
+2.26.2
+

diff --git a/sys-devel/gdb/gdb-9.1.ebuild b/sys-devel/gdb/gdb-9.1.ebuild
index 205b126af92..a9201f627de 100644
--- a/sys-devel/gdb/gdb-9.1.ebuild
+++ b/sys-devel/gdb/gdb-9.1.ebuild
@@ -90,6 +90,7 @@ BDEPEND="
 
 PATCHES=(
        "${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
+       "${FILESDIR}"/${PN}-9.1-ia64.patch
 )
 
 GDB_BUILD_DIR="${WORKDIR}"/${P}-build

Reply via email to