mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
csound: unmark broken on arm
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
parent
d5189182a0
commit
8ffbde331c
2 changed files with 14 additions and 5 deletions
13
srcpkgs/csound/patches/arm.patch
Normal file
13
srcpkgs/csound/patches/arm.patch
Normal 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
|
|
@ -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
|
libgomp-devel liblo-devel libsndfile-devel pd-devel portaudio-devel
|
||||||
portmidi-devel tk-devel"
|
portmidi-devel tk-devel"
|
||||||
depends="pd"
|
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>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="https://csound.com/"
|
homepage="https://csound.com/"
|
||||||
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=183beeb3b720bfeab6cc8af12fbec0bf9fef2727684ac79289fd12d0dfee728b
|
checksum=183beeb3b720bfeab6cc8af12fbec0bf9fef2727684ac79289fd12d0dfee728b
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
arm*) broken=yes;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
CXXFLAGS="-Wno-error"
|
CXXFLAGS="-Wno-error"
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
|
|
Loading…
Add table
Reference in a new issue