summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-05-19 22:30:09 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-05-19 22:30:21 +0100
commit3c8f5a6dcde5304dce19698d0c948c1d875b636d (patch)
treecbf9e20c4500d4ebee1e81e05d1598d03090c44d
parentnet-analyzer/wireshark: Version 3.2.4 (diff)
downloadgentoo-3c8f5a6dcde5304dce19698d0c948c1d875b636d.tar.gz
gentoo-3c8f5a6dcde5304dce19698d0c948c1d875b636d.tar.bz2
gentoo-3c8f5a6dcde5304dce19698d0c948c1d875b636d.zip
sys-devel/gdb: add missing include on ia64
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--sys-devel/gdb/files/gdb-9.1-ia64.patch15
-rw-r--r--sys-devel/gdb/gdb-9.1.ebuild1
2 files changed, 16 insertions, 0 deletions
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 000000000000..49a21e4cdd29
--- /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 205b126af92d..a9201f627dee 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