Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/helm-synth
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
committerErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
commite74cde76c104df82b120a7b13964cb786da8f565 (patch)
tree39967e24037929c04aaf79922aa260b437a60a5e /extra/helm-synth
parent73e1d3b448cc583ab38cae4d61a26f313fad946b (diff)
community -> extra
Diffstat (limited to 'extra/helm-synth')
-rw-r--r--extra/helm-synth/PKGBUILD10
-rw-r--r--extra/helm-synth/helm-0.9.0-sigemptyset-glibc-2.26.patch15
2 files changed, 25 insertions, 0 deletions
diff --git a/extra/helm-synth/PKGBUILD b/extra/helm-synth/PKGBUILD
new file mode 100644
index 00000000..727d65f8
--- /dev/null
+++ b/extra/helm-synth/PKGBUILD
@@ -0,0 +1,10 @@
+# reported upstream, see https://github.com/mtytel/helm/issues/190
+source+=('helm-0.9.0-sigemptyset-glibc-2.26.patch')
+sha512sums+=('7786c0fdf6ec0cfdb2e7344742327454e9ab82e83e43cb6492d3b6fd047f0070b8da23055d9d9df2fc325ce440b1b51ef8919fb9749cab3d6800946cebf03ab8')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /cd/ a patch -Np1 -i "${srcdir}"/helm-0.9.0-sigemptyset-glibc-2.26.patch
+ '
+)"
diff --git a/extra/helm-synth/helm-0.9.0-sigemptyset-glibc-2.26.patch b/extra/helm-synth/helm-0.9.0-sigemptyset-glibc-2.26.patch
new file mode 100644
index 00000000..bf11db6c
--- /dev/null
+++ b/extra/helm-synth/helm-0.9.0-sigemptyset-glibc-2.26.patch
@@ -0,0 +1,15 @@
+diff -rauN helm-0.9.0/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c helm-0.9.0-sigemptyset-glibc-2.26-patch/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c
+--- helm-0.9.0/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c 2017-07-08 23:40:42.000000000 +0200
++++ helm-0.9.0-sigemptyset-glibc-2.26-patch/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c 2018-03-15 20:47:50.816542352 +0100
+@@ -244,11 +244,7 @@
+ struct sigaction sigill_save;
+ struct sigaction sigill_sse;
+ sigill_sse.sa_sigaction = sigill_handler_sse_os;
+- #ifdef __ANDROID__
+ sigemptyset (&sigill_sse.sa_mask);
+- #else
+- __sigemptyset(&sigill_sse.sa_mask);
+- #endif
+ 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))
+ {