Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/gdb/PKGBUILD9
-rw-r--r--extra/gdb/opcodes.patch40
2 files changed, 49 insertions, 0 deletions
diff --git a/extra/gdb/PKGBUILD b/extra/gdb/PKGBUILD
new file mode 100644
index 00000000..bf0c483c
--- /dev/null
+++ b/extra/gdb/PKGBUILD
@@ -0,0 +1,9 @@
+# gdb 15.1 doesn't build objects needed in libopcodes which results in linking failures
+source+=('opcodes.patch')
+unset sha1sums
+b2sums+=('aa286172afb28434384bc30309d6c864343aae01ee0e234f76676dda49aa34227740564b40fe6292a8778cd705b3a2cb67944e7dd810d5f93388328b650d4586')
+
+prepare() {
+ cd gdb-$pkgver
+ patch -p1 -i ../opcodes.patch
+}
diff --git a/extra/gdb/opcodes.patch b/extra/gdb/opcodes.patch
new file mode 100644
index 00000000..7c0c72f0
--- /dev/null
+++ b/extra/gdb/opcodes.patch
@@ -0,0 +1,40 @@
+--- a/opcodes/Makefile.am 2024-08-25 18:41:21.171164634 +0000
++++ b/opcodes/Makefile.am 2024-08-25 18:42:58.328802756 +0000
+@@ -119,6 +119,8 @@
+ arm-dis.c \
+ avr-dis.c \
+ bfin-dis.c \
++ bpf-dis.c \
++ bpf-opc.c \
+ cgen-asm.c \
+ cgen-bitset.c \
+ cgen-dis.c \
+@@ -230,6 +232,8 @@
+ ppc-opc.c \
+ pru-dis.c \
+ pru-opc.c \
++ riscv-dis.c \
++ riscv-opc.c \
+ rl78-decode.c \
+ rl78-dis.c \
+ rx-decode.c \
+--- a/opcodes/Makefile.in 2024-08-25 18:44:34.402406480 +0000
++++ b/opcodes/Makefile.in 2024-08-25 18:37:04.302726979 +0000
+@@ -522,6 +522,8 @@
+ arm-dis.c \
+ avr-dis.c \
+ bfin-dis.c \
++ bpf-dis.c \
++ bpf-opc.c \
+ cgen-asm.c \
+ cgen-bitset.c \
+ cgen-dis.c \
+@@ -633,6 +635,8 @@
+ ppc-opc.c \
+ pru-dis.c \
+ pru-opc.c \
++ riscv-dis.c \
++ riscv-opc.c \
+ rl78-decode.c \
+ rl78-dis.c \
+ rx-decode.c \