# HG changeset patch # User Rob Landley # Date 1404353859 18000 # Node ID edffac13b5f2f026acba79bc7d360626be6a5702 # Parent ba28c96cba424f8ca89be68443b64fea1916351b Make gcc use the documented type for signal info instead of implementation detail leakage that musl doesn't do. diff -r ba28c96cba42 -r edffac13b5f2 sources/patches/gcc-core-portability.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/gcc-core-portability.patch Wed Jul 02 21:17:39 2014 -0500 @@ -0,0 +1,17 @@ +Build against musl (or current glibc) using the standard name instead of the random implementation detail leakage. + +diff -ruN gcc-core/gcc/config/i386/linux-unwind.h gcc-core.bak/gcc/config/i386/linux-unwind.h +--- gcc-core/gcc/config/i386/linux-unwind.h 2006-02-27 11:26:26.000000000 -0600 ++++ gcc-core.bak/gcc/config/i386/linux-unwind.h 2014-07-02 18:27:17.931529601 -0500 +@@ -137,9 +137,9 @@ + { + struct rt_sigframe { + int sig; +- struct siginfo *pinfo; ++ siginfo_t *pinfo; + void *puc; +- struct siginfo info; ++ siginfo_t info; + struct ucontext uc; + } *rt_ = context->cfa; + /* The void * cast is necessary to avoid an aliasing warning.