supercollider: patch for newer libsndfile

This commit is contained in:
Đoàn Trần Công Danh 2022-12-27 08:42:33 +07:00
parent bb78dfa369
commit 3bbed9c85e

View file

@ -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 <stdint.h>
-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))