From 2a03458d79a34d5768e1ccfdc4fa238d2585684f Mon Sep 17 00:00:00 2001 From: Mike Sullivan Date: Fri, 2 Feb 2018 16:38:39 +0000 Subject: main/gdb: remove double definition of pt_regs structure during gdbserver build --- main/gdb/APKBUILD | 8 +++++--- main/gdb/ppc-ptregs.patch | 10 ++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 main/gdb/ppc-ptregs.patch (limited to 'main/gdb') diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD index 62ba1ddbc5..d586def2a8 100644 --- a/main/gdb/APKBUILD +++ b/main/gdb/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=gdb pkgver=8.0.1 -pkgrel=5 +pkgrel=6 pkgdesc="The GNU Debugger" url="https://www.sourceware.org/gdb/" arch="all" @@ -13,7 +13,8 @@ options="!check" subpackages="$pkgname-doc" source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz s390x-use-elf-gdb_fpregset_t.patch - ppc-musl.patch" + ppc-musl.patch + ppc-ptregs.patch" builddir="$srcdir"/$pkgname-$pkgver @@ -60,4 +61,5 @@ package() { sha512sums="5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1 gdb-8.0.1.tar.xz c3872eb51b3a42c5a33f8b7542c37fab7b0548560202e5eda740a2176cdfadff9bf73c6d26bceb225829dcb509c823acae2ccc796237ac97ebe552b82582bdf5 s390x-use-elf-gdb_fpregset_t.patch -04911f87904b62dd7662435f9182b20485afb29ddb3d6398a9d31fef13495f7b70639c77fdae3a40e2775e270d7cd40d0cfd7ddf832372b506808d33c8301e01 ppc-musl.patch" +04911f87904b62dd7662435f9182b20485afb29ddb3d6398a9d31fef13495f7b70639c77fdae3a40e2775e270d7cd40d0cfd7ddf832372b506808d33c8301e01 ppc-musl.patch +b75e1c1ee503a1948a7d5b8d90427b5c7d38ded69978056cee0adca222771a5c95ed1ac73127fcae7b795ea94296344eee5fca47e4cd04b418c164a756fb0933 ppc-ptregs.patch" diff --git a/main/gdb/ppc-ptregs.patch b/main/gdb/ppc-ptregs.patch new file mode 100644 index 0000000000..743bd2e6d2 --- /dev/null +++ b/main/gdb/ppc-ptregs.patch @@ -0,0 +1,10 @@ +--- a/gdb/gdbserver/linux-ppc-low.c ++++ b/gdb/gdbserver/linux-ppc-low.c +@@ -21,7 +21,6 @@ + #include "linux-low.h" + + #include +-#include + + #include "nat/ppc-linux.h" + #include "linux-ppc-tdesc.h" -- cgit v1.2.3