diff --git a/srcpkgs/helm/patches/fix_sigemptyset.patch b/srcpkgs/helm/patches/fix_sigemptyset.patch new file mode 100644 index 00000000000..7889ac16c00 --- /dev/null +++ b/srcpkgs/helm/patches/fix_sigemptyset.patch @@ -0,0 +1,16 @@ +diff --git JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c +index 4eac42e..b477709 100644 +--- JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c ++++ JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c +@@ -244,11 +244,7 @@ void FLAC__cpu_info(FLAC__CPUInfo *info) + 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)) + { diff --git a/srcpkgs/helm/template b/srcpkgs/helm/template new file mode 100644 index 00000000000..24c00a2662e --- /dev/null +++ b/srcpkgs/helm/template @@ -0,0 +1,18 @@ +# Template file for 'helm'. +pkgname=helm +version=0.9.0 +revision=1 +build_style=gnu-makefile +hostmakedepends="pkg-config" +makedepends="alsa-lib-devel libcurl-devel libX11-devel libXext-devel libXinerama-devel freetype-devel MesaLib-devel jack-devel libXcursor-devel" +maintainer="Olga Ustuzhanina " +short_desc="Polyphonic synth with lots of modulation" +homepage="http://tytel.org/helm" +license="GPL-3" +distfiles="https://github.com/mtytel/helm/archive/v${version}.tar.gz" +checksum=4004c11fd1d773cc2a12adb5336873bc86c5ecbd370b8da2820fed6ef5ec58ad +nocross="Uses uname -m to set SIMDFLAGS. Should be based on the target, not the host, architecture" + +case "$XBPS_TARGET_MACHINE" in + *-musl) broken="Doesn't compile on musl because JUCE depends on execinfo.h" +esac