* added the Unlicense as valid in misc/share/REGISTER
[t2sde.git] / package / powerpc / mol / hotfix-ucontext.patch
blobcb3d0ac7c930d63c3e2276a91f937a3050a547e7
1 --- mol/src/main/misc.h.vanilla 2023-08-31 15:05:56.344264179 +0100
2 +++ mol/src/main/misc.h 2023-08-31 15:06:03.360246709 +0100
3 @@ -20,7 +20,7 @@
4 /* arch/misc.c */
5 #ifdef __linux__
6 extern void signal_handler( int sig_num, siginfo_t *sinfo,
7 - struct ucontext *puc, ulong rt_sf );
8 + struct ucontext_t *puc, ulong rt_sf );
9 #else
10 extern void signal_handler( int sig_num );
11 #endif
12 --- mol/src/main/linux/misc.c.vanilla 2023-08-31 15:05:30.556328393 +0100
13 +++ mol/src/main/linux/misc.c 2023-08-31 15:05:52.008274976 +0100
14 @@ -68,7 +68,7 @@
15 #endif
17 void
18 -signal_handler( int sig_num, siginfo_t *sinfo, struct ucontext *puc, ulong rt_sf )
19 +signal_handler( int sig_num, siginfo_t *sinfo, struct ucontext_t *puc, ulong rt_sf )
21 /* handles SIGINT, SIGPIPE */
22 if( common_signal_handler(sig_num) )