summaryrefslogtreecommitdiff
path: root/system/diffutils/musl-ppc32.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-01-08 21:39:35 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:42 -0500
commit89e8c432418cad583756bef9838a2622310b76ab (patch)
treeb27b4d31b04967d55390f7d7db0c7988c9a90709 /system/diffutils/musl-ppc32.patch
parent4b1a455343220f6e17c261d05a978008f19b606c (diff)
downloadpackages-89e8c432418cad583756bef9838a2622310b76ab.tar.gz
packages-89e8c432418cad583756bef9838a2622310b76ab.tar.bz2
packages-89e8c432418cad583756bef9838a2622310b76ab.tar.xz
packages-89e8c432418cad583756bef9838a2622310b76ab.zip
system/diffutils: add ppc32 patch. become maintainer. fixes #443.
Diffstat (limited to 'system/diffutils/musl-ppc32.patch')
-rw-r--r--system/diffutils/musl-ppc32.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/diffutils/musl-ppc32.patch b/system/diffutils/musl-ppc32.patch
new file mode 100644
index 000000000..c1cd3dace
--- /dev/null
+++ b/system/diffutils/musl-ppc32.patch
@@ -0,0 +1,12 @@
+diff -ur a/lib/sigsegv.c b/lib/sigsegv.c
+--- a/lib/sigsegv.c 2022-01-08 21:35:58.620000000 +0000
++++ b/lib/sigsegv.c 2022-01-08 21:36:11.380000000 +0000
+@@ -222,7 +222,7 @@
+ # if 0
+ # define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.regs->gpr[1]
+ # else
+-# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1]
++# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.gregs[1]
+ # endif
+ # endif
+