020-fix-musl-sigemptyset-x86.patch 511 B

1234567891011
  1. --- a/src/libFLAC/cpu.c
  2. +++ b/src/libFLAC/cpu.c
  3. @@ -243,7 +243,7 @@ void FLAC__cpu_info(FLAC__CPUInfo *info)
  4. struct sigaction sigill_save;
  5. struct sigaction sigill_sse;
  6. sigill_sse.sa_sigaction = sigill_handler_sse_os;
  7. - __sigemptyset(&sigill_sse.sa_mask);
  8. + sigemptyset(&sigill_sse.sa_mask);
  9. 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 */
  10. if(0 == sigaction(SIGILL, &sigill_sse, &sigill_save))
  11. {