diff options
author | Marco Pompili | 2023-04-18 21:10:38 +0200 |
---|---|---|
committer | Marco Pompili | 2023-04-18 21:12:40 +0200 |
commit | 0599b0542a8138290ee358b1e6c1c303bc351701 (patch) | |
tree | 9550e2288602d421a2e210fef515801c4fbe843c /fix-libsndfile-error.patch | |
parent | 881162fc898da109bf055f348c4a38338a559223 (diff) | |
download | aur-0599b0542a8138290ee358b1e6c1c303bc351701.tar.gz |
Version 0.11.2-2
- add libsndfile-error patch
Diffstat (limited to 'fix-libsndfile-error.patch')
-rw-r--r-- | fix-libsndfile-error.patch | 28 |
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 |