From 60990305d50714468d4b7eddcc536b56b565a9af Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 12 Jun 2016 00:54:16 +0200 Subject: gdb: move patch --- package/gdb/patches/7.11.1/patch-gdb_nat_ppc-linux_h | 12 ++++++++++++ package/gdb/patches/patch-gdb_nat_ppc-linux_h | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 package/gdb/patches/7.11.1/patch-gdb_nat_ppc-linux_h delete mode 100644 package/gdb/patches/patch-gdb_nat_ppc-linux_h (limited to 'package/gdb/patches') diff --git a/package/gdb/patches/7.11.1/patch-gdb_nat_ppc-linux_h b/package/gdb/patches/7.11.1/patch-gdb_nat_ppc-linux_h new file mode 100644 index 000000000..20929b4cf --- /dev/null +++ b/package/gdb/patches/7.11.1/patch-gdb_nat_ppc-linux_h @@ -0,0 +1,12 @@ +--- gdb-7.11.orig/gdb/nat/ppc-linux.h 2016-02-10 04:19:39.000000000 +0100 ++++ gdb-7.11/gdb/nat/ppc-linux.h 2016-04-24 21:19:39.351474402 +0200 +@@ -18,7 +18,9 @@ + #ifndef PPC_LINUX_H + #define PPC_LINUX_H 1 + ++#define pt_regs uapi_pt_regs + #include ++#undef pt_regs + #include + + /* This sometimes isn't defined. */ diff --git a/package/gdb/patches/patch-gdb_nat_ppc-linux_h b/package/gdb/patches/patch-gdb_nat_ppc-linux_h deleted file mode 100644 index 20929b4cf..000000000 --- a/package/gdb/patches/patch-gdb_nat_ppc-linux_h +++ /dev/null @@ -1,12 +0,0 @@ ---- gdb-7.11.orig/gdb/nat/ppc-linux.h 2016-02-10 04:19:39.000000000 +0100 -+++ gdb-7.11/gdb/nat/ppc-linux.h 2016-04-24 21:19:39.351474402 +0200 -@@ -18,7 +18,9 @@ - #ifndef PPC_LINUX_H - #define PPC_LINUX_H 1 - -+#define pt_regs uapi_pt_regs - #include -+#undef pt_regs - #include - - /* This sometimes isn't defined. */ -- cgit v1.2.3