void-packages/srcpkgs/gdb/patches/aarch64-headers.patch

18 lines
523 B
Diff
Raw Normal View History

2019-01-08 18:42:22 +01:00
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 <asm/sigcontext.h>
+#include <signal.h>
#include <sys/utsname.h>
#include <sys/ptrace.h>
#include <asm/ptrace.h>