Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/gdb/PKGBUILD
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-08-25 21:57:47 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-08-25 21:57:47 +0300
commitb73bed5b02f064e9fc8f2c70dd1ef3bcab0b26fb (patch)
tree041ee49988f7ad5d0b942b210542f953328cd1c8 /extra/gdb/PKGBUILD
parent9c8b7cf2eaa81ae4fd7798ab02ceef8a5dd211ed (diff)
extra/gdb: Add patch for libopcodes
Diffstat (limited to 'extra/gdb/PKGBUILD')
-rw-r--r--extra/gdb/PKGBUILD9
1 files changed, 9 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
+}