csound: unmark broken on arm

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
Nathan Owens 2019-12-20 20:21:46 -06:00 committed by Helmut Pozimski
parent d5189182a0
commit 8ffbde331c
2 changed files with 14 additions and 5 deletions

View file

@ -0,0 +1,13 @@
diff --git OOps/pffft.c OOps/pffft.c
index e9696a7..3163cf8 100644
--- OOps/pffft.c
+++ OOps/pffft.c
@@ -154,7 +154,7 @@ typedef __m128 v4sf;
/*
ARM NEON support macros
*/
-#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__arm__) || defined(IOS))
+#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__ARM_NEON__) || defined(IOS))
# include <arm_neon.h>
typedef float32x4_t v4sf;
# define SIMD_SZ 4

View file

@ -12,17 +12,13 @@ makedepends="LuaJIT-devel boost-devel fltk-devel fluidsynth-devel libcurl-devel
libgomp-devel liblo-devel libsndfile-devel pd-devel portaudio-devel
portmidi-devel tk-devel"
depends="pd"
short_desc="A programming language for sound rendering and signal processing"
short_desc="Programming language for sound rendering and signal processing"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="LGPL-2.1-or-later"
homepage="https://csound.com/"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
checksum=183beeb3b720bfeab6cc8af12fbec0bf9fef2727684ac79289fd12d0dfee728b
case "$XBPS_TARGET_MACHINE" in
arm*) broken=yes;;
esac
CXXFLAGS="-Wno-error"
case $XBPS_TARGET_MACHINE in