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))