diff --git a/srcpkgs/csound/patches/arm.patch b/srcpkgs/csound/patches/arm.patch new file mode 100644 index 00000000000..122738a68d2 --- /dev/null +++ b/srcpkgs/csound/patches/arm.patch @@ -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 + typedef float32x4_t v4sf; + # define SIMD_SZ 4 diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template index d7636df911f..558c9a1240a 100644 --- a/srcpkgs/csound/template +++ b/srcpkgs/csound/template @@ -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 " 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