aboutsummaryrefslogtreecommitdiffstats
path: root/main/flac/sigemptyset.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-12-01 10:41:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-01 10:41:30 +0000
commit49fd0f4cebc46e2753d6a60e450078446f7f18a7 (patch)
treeb1f54461ebe5b5254f2de91ad498026bca2ba202 /main/flac/sigemptyset.patch
parent4ed3d1dbc8963a29d2cd76fb8b656be26b6f7112 (diff)
downloadaports-49fd0f4cebc46e2753d6a60e450078446f7f18a7.tar.bz2
aports-49fd0f4cebc46e2753d6a60e450078446f7f18a7.tar.xz
main/flac: fix build on x86
Diffstat (limited to 'main/flac/sigemptyset.patch')
-rw-r--r--main/flac/sigemptyset.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/flac/sigemptyset.patch b/main/flac/sigemptyset.patch
new file mode 100644
index 0000000000..0af606f454
--- /dev/null
+++ b/main/flac/sigemptyset.patch
@@ -0,0 +1,11 @@
+--- ./src/libFLAC/cpu.c.orig
++++ ./src/libFLAC/cpu.c
+@@ -243,7 +243,7 @@
+ struct sigaction sigill_save;
+ struct sigaction sigill_sse;
+ sigill_sse.sa_sigaction = sigill_handler_sse_os;
+- __sigemptyset(&sigill_sse.sa_mask);
++ sigemptyset(&sigill_sse.sa_mask);
+ 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 */
+ if(0 == sigaction(SIGILL, &sigill_sse, &sigill_save))
+ {