void-packages/srcpkgs/supercollider/patches/libsndfile-0.2.2.patch

27 lines
914 B
Diff

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