system/diffutils: (ppc) error: 'mcontext_t' {aka 'struct <anonymous>'} has no member named 'uc_regs'
Found on ppc:
sigsegv.c: In function 'sigsegv_handler':
sigsegv.c:225:75: error: 'mcontext_t' {aka 'struct <anonymous>'} has no member named 'uc_regs'; did you mean 'gregs'?
# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1]
^~~~~~~
sigsegv.c:940:43: note: in expansion of macro 'SIGSEGV_FAULT_STACKPOINTER'
uintptr_t old_sp = (uintptr_t) (SIGSEGV_FAULT_STACKPOINTER);
^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:2319: sigsegv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/root/packages/system/diffutils/src/diffutils-3.8/lib'
make[1]: *** [Makefile:2019: all] Error 2
make[1]: Leaving directory '/root/packages/system/diffutils/src/diffutils-3.8/lib'
make: *** [Makefile:1650: all-recursive] Error 1
>>> ERROR: diffutils: build failed