summarylogtreecommitdiffstats
path: root/fix-libsndfile-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-libsndfile-error.patch')
-rw-r--r--fix-libsndfile-error.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/fix-libsndfile-error.patch b/fix-libsndfile-error.patch
new file mode 100644
index 000000000000..ceacc8f03a5b
--- /dev/null
+++ b/fix-libsndfile-error.patch
@@ -0,0 +1,28 @@
+diff --git a/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp b/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp
+index 71caf42d8..39146d7d6 100644
+--- a/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp
++++ b/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp
+@@ -7,7 +7,6 @@
+ #include "glm/common.hpp"
+ #include "ofLog.h"
+ #include "ofEvents.h"
+-#include <sndfile.h>
+
+ #if defined (TARGET_OF_IOS) || defined (TARGET_OSX)
+ #include <OpenAL/al.h>
+diff --git a/libs/openFrameworks/sound/ofOpenALSoundPlayer.h b/libs/openFrameworks/sound/ofOpenALSoundPlayer.h
+index 042f7b354..80df4f90c 100644
+--- a/libs/openFrameworks/sound/ofOpenALSoundPlayer.h
++++ b/libs/openFrameworks/sound/ofOpenALSoundPlayer.h
+@@ -12,10 +12,7 @@ typedef unsigned int ALuint;
+
+ #include "kiss_fft.h"
+ #include "kiss_fftr.h"
+-
+-
+-
+-typedef struct SNDFILE_tag SNDFILE ;
++#include <sndfile.h>
+
+
+ #ifdef OF_USING_MPG123