diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-05 17:53:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-05 18:33:32 +0000 |
commit | 046033e8e9ec264acd17a8373d28e0c2e9ea5c7b (patch) | |
tree | 34b699874447f339654e7aa5b1b19cdef3f28af6 /main | |
parent | a569a886be3b28124a84d1ff7377d7578096aacd (diff) | |
download | aports-046033e8e9ec264acd17a8373d28e0c2e9ea5c7b.tar.bz2 aports-046033e8e9ec264acd17a8373d28e0c2e9ea5c7b.tar.xz |
main/gdb: fix build on aarch64
Diffstat (limited to 'main')
-rw-r--r-- | main/gdb/APKBUILD | 9 | ||||
-rw-r--r-- | main/gdb/aarch64-headers.patch | 13 |
2 files changed, 19 insertions, 3 deletions
diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD index 5e179d049d..eea7176cf6 100644 --- a/main/gdb/APKBUILD +++ b/main/gdb/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gdb pkgver=8.2 -pkgrel=0 +pkgrel=1 pkgdesc="The GNU Debugger" url="https://www.sourceware.org/gdb/" arch="all" @@ -14,7 +14,9 @@ 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-ptregs.patch" + ppc-ptregs.patch + aarch64-headers.patch + " builddir="$srcdir"/$pkgname-$pkgver @@ -62,4 +64,5 @@ package() { sha512sums="11cc481bebc51eb6db73249ecb62b8c07455cf3db169f4860b3a83114849fbd2b5860a2db64488ba6c5909cf07b255c04770f1e36059eae6bee16d2a3581be90 gdb-8.2.tar.xz 70e7d04e4d72461436da503b5bfa370c5779e03245c521f30e9779d5ff37dbb2d708b05f2afb27f43ad9defc44df4bd979d72f777e744851fdbf156295e1cc9f s390x-use-elf-gdb_fpregset_t.patch 04911f87904b62dd7662435f9182b20485afb29ddb3d6398a9d31fef13495f7b70639c77fdae3a40e2775e270d7cd40d0cfd7ddf832372b506808d33c8301e01 ppc-musl.patch -b75e1c1ee503a1948a7d5b8d90427b5c7d38ded69978056cee0adca222771a5c95ed1ac73127fcae7b795ea94296344eee5fca47e4cd04b418c164a756fb0933 ppc-ptregs.patch" +b75e1c1ee503a1948a7d5b8d90427b5c7d38ded69978056cee0adca222771a5c95ed1ac73127fcae7b795ea94296344eee5fca47e4cd04b418c164a756fb0933 ppc-ptregs.patch +cd4a22a3ee10c7326edd6a6766c39110ce1400ac7499db7a2140744c05deb573498b0501aad045bccbaea4e87d45b62a758bfe134760ae49a01402697483d601 aarch64-headers.patch" diff --git a/main/gdb/aarch64-headers.patch b/main/gdb/aarch64-headers.patch new file mode 100644 index 0000000000..fc176d7711 --- /dev/null +++ b/main/gdb/aarch64-headers.patch @@ -0,0 +1,13 @@ +diff --git a/gdb/nat/aarch64-sve-linux-ptrace.h b/gdb/nat/aarch64-sve-linux-ptrace.h +index 029e753..172ae39 100644 +--- a/gdb/nat/aarch64-sve-linux-ptrace.h ++++ b/gdb/nat/aarch64-sve-linux-ptrace.h +@@ -20,7 +20,7 @@ + #ifndef AARCH64_SVE_LINUX_PTRACE_H + #define AARCH64_SVE_LINUX_PTRACE_H + +-#include <asm/sigcontext.h> ++#include <signal.h> + #include <sys/utsname.h> + #include <sys/ptrace.h> + #include <asm/ptrace.h> |