aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-05-14 03:15:49 +0000
committerpsykose <alice@ayaya.dev>2022-05-14 05:15:50 +0200
commit371f506c4513eb9abdd8e664fc0b97c67ba266ce (patch)
tree03a957e680799174441d70cec0332ffb7f975466
parente2bd4083ac00d26faf692dbc225372dd54793308 (diff)
downloadaports-371f506c4513eb9abdd8e664fc0b97c67ba266ce.tar.gz
aports-371f506c4513eb9abdd8e664fc0b97c67ba266ce.tar.bz2
aports-371f506c4513eb9abdd8e664fc0b97c67ba266ce.tar.xz
testing/supercollider: fix build
-rw-r--r--testing/supercollider/APKBUILD2
-rw-r--r--testing/supercollider/sndfile.patch12
2 files changed, 14 insertions, 0 deletions
diff --git a/testing/supercollider/APKBUILD b/testing/supercollider/APKBUILD
index 97c5717538..971891d52d 100644
--- a/testing/supercollider/APKBUILD
+++ b/testing/supercollider/APKBUILD
@@ -35,6 +35,7 @@ checkdepends="xvfb-run"
subpackages="$pkgname-dev"
source="https://github.com/supercollider/supercollider/releases/download/Version-$pkgver/SuperCollider-$pkgver-Source.tar.bz2
00-fortified-headers.patch
+ sndfile.patch
"
builddir="$srcdir/SuperCollider-$pkgver-Source"
@@ -66,4 +67,5 @@ package() {
sha512sums="
ad2466047353b65879f2acd9ba6b6f429010af08ef3f1150adebb93927244f4337aeb09d5aa6cc4cd26b091bc101488eebf822d21c177de55f0f8f7c2a31eb7c SuperCollider-3.12.2-Source.tar.bz2
cef3e1bdaecd4278d14fcabc39d2a69cfab1216ff3dedd3e54997470955dd310e502732ff2c0f76e95f349c31deb964eff456f49f51d7e3c83421521d0c30c43 00-fortified-headers.patch
+92b98c220d7a5b2ab246fa47ff4945493812019f16b0fed27b1d009ed8f7b5270bfbc91e2f0dd98706de86e52cc4f9920db2af341c0d632d30f3a2a487e3a1d7 sndfile.patch
"
diff --git a/testing/supercollider/sndfile.patch b/testing/supercollider/sndfile.patch
new file mode 100644
index 0000000000..f2bb193a05
--- /dev/null
+++ b/testing/supercollider/sndfile.patch
@@ -0,0 +1,12 @@
+--- a/include/plugin_interface/SC_SndBuf.h
++++ b/include/plugin_interface/SC_SndBuf.h
+@@ -22,8 +22,8 @@
+
+ #include <stdint.h>
+
+-typedef struct SNDFILE_tag SNDFILE;
++#include <sndfile.h>
+
+ #ifdef SUPERNOVA
+
+ # include <atomic>