gst1-plugins-base: bump to version 1.10.4
[buildroot-gz.git] / package / libsigsegv / 0005-fix-sparc64-stackpointer.patch
blob62de35f6e007ec322d6f7f83e233d2e2498f1e61
1 Fix sparc64 build.
3 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
5 diff -Nur libsigsegv-2.10.orig/src/fault-linux-sparc.h libsigsegv-2.10/src/fault-linux-sparc.h
6 --- libsigsegv-2.10.orig/src/fault-linux-sparc.h 2009-08-01 17:06:49.000000000 +0200
7 +++ libsigsegv-2.10/src/fault-linux-sparc.h 2015-11-29 11:55:29.000000000 +0100
8 @@ -27,4 +27,8 @@
9 (see also <asm/sigcontext.h>)
10 are quite different types. */
12 +#if __WORDSIZE == 64
13 +#define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.mc_gregs[REG_O6]
14 +#else
15 #define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.gregs[REG_O6]
16 +#endif