sys-devel/gdb: add missing include on ia64
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 19 May 2020 21:30:09 +0000 (22:30 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 19 May 2020 21:30:21 +0000 (22:30 +0100)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-devel/gdb/files/gdb-9.1-ia64.patch [new file with mode: 0644]
sys-devel/gdb/gdb-9.1.ebuild

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 (file)
index 0000000..49a21e4
--- /dev/null
@@ -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
+
index 205b126af92dac5116ba3b7756a25179f416881f..a9201f627dee0f39f10dfa531d684e123350bebf 100644 (file)
@@ -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