From a7ecd69f49bf349887a40a3628bb3f7ee21405b5 Mon Sep 17 00:00:00 2001 From: Christian Buschau Date: Tue, 8 Jan 2019 18:42:22 +0100 Subject: [PATCH] gdb: update to 8.2.1. --- srcpkgs/gdb/patches/aarch64-headers.patch | 17 +++++++++++++++++ srcpkgs/gdb/template | 6 +++--- 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/gdb/patches/aarch64-headers.patch diff --git a/srcpkgs/gdb/patches/aarch64-headers.patch b/srcpkgs/gdb/patches/aarch64-headers.patch new file mode 100644 index 00000000000..ec0e1ddd5d3 --- /dev/null +++ b/srcpkgs/gdb/patches/aarch64-headers.patch @@ -0,0 +1,17 @@ +Source: https://git.alpinelinux.org/aports/tree/main/gdb/aarch64-headers.patch +Upstream: Yes +Reason: FTBFS + +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 ++#include + #include + #include + #include diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index 2a89abef7fe..97a2aa52ae8 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -1,8 +1,7 @@ # Template file for 'gdb' pkgname=gdb -version=8.1.1 +version=8.2.1 revision=1 -patch_args="-Np1" build_style=gnu-configure pycompile_dirs="/usr/share/gdb" configure_args="--disable-werror --disable-nls --with-system-readline @@ -16,7 +15,8 @@ maintainer="Juan RP " license="GPL-3.0-or-later" homepage="https://www.gnu.org/software/gdb/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" -checksum=97dcc3169bd430270fc29adb65145846a58c1b55cdbb73382a4a89307bdad03c +checksum=0a6a432907a03c5c8eaad3c3cffd50c00a40c3a5e3c4039440624bae703f2202 +patch_args="-Np1" if [ "${CROSS_BUILD}" ]; then # Make python3.x detection work in cross builds