From 3bbed9c85eec4b6954c74e7d022b564617524877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 27 Dec 2022 08:42:33 +0700 Subject: [PATCH] supercollider: patch for newer libsndfile --- .../patches/libsndfile-0.2.2.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/supercollider/patches/libsndfile-0.2.2.patch diff --git a/srcpkgs/supercollider/patches/libsndfile-0.2.2.patch b/srcpkgs/supercollider/patches/libsndfile-0.2.2.patch new file mode 100644 index 00000000000..7f023275194 --- /dev/null +++ b/srcpkgs/supercollider/patches/libsndfile-0.2.2.patch @@ -0,0 +1,26 @@ +Index: supercollider-3.11.1/include/plugin_interface/SC_SndBuf.h +=================================================================== +--- supercollider-3.11.1.orig/include/plugin_interface/SC_SndBuf.h ++++ supercollider-3.11.1/include/plugin_interface/SC_SndBuf.h +@@ -22,7 +22,7 @@ + + #include + +-typedef struct SNDFILE_tag SNDFILE; ++typedef struct sf_private_tag SNDFILE; + + #ifdef SUPERNOVA + +Index: supercollider-3.11.1/include/plugin_interface/SC_sndfile_stub.h +=================================================================== +--- supercollider-3.11.1.orig/include/plugin_interface/SC_sndfile_stub.h ++++ supercollider-3.11.1/include/plugin_interface/SC_sndfile_stub.h +@@ -25,7 +25,7 @@ + + /* A SNDFILE* pointer can be passed around much like stdio.h's FILE* pointer. */ + +-typedef struct SNDFILE_tag SNDFILE; ++typedef struct sf_private_tag SNDFILE; + + + #if (defined(_MSCVER) || defined(_MSC_VER))