glib-networking: bump to version 2.48.1
[buildroot-gz.git] / package / flac / 0002-sigemptyset.patch
blob9cbc338a67e030be6980e907192ee0a65d8e66f3
1 Fix musl compile since it does not define __sigemptyset
3 Downloaded from
4 http://git.alpinelinux.org/cgit/aports/commit/main/flac/sigemptyset.patch?id=49fd0f4cebc46e2753d6a60e450078446f7f18a7
6 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
8 --- ./src/libFLAC/cpu.c.orig
9 +++ ./src/libFLAC/cpu.c
10 @@ -243,7 +243,7 @@
11 struct sigaction sigill_save;
12 struct sigaction sigill_sse;
13 sigill_sse.sa_sigaction = sigill_handler_sse_os;
14 - __sigemptyset(&sigill_sse.sa_mask);
15 + sigemptyset(&sigill_sse.sa_mask);
16 sigill_sse.sa_flags = SA_SIGINFO | SA_RESETHAND; /* SA_RESETHAND just in case our SIGILL return jump breaks, so we don't get stuck in a loop */
17 if(0 == sigaction(SIGILL, &sigill_sse, &sigill_save))