aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mixxx/files/patch-src_soundsourceoggvorbis.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mixxx/files/patch-src_soundsourceoggvorbis.cpp')
-rw-r--r--audio/mixxx/files/patch-src_soundsourceoggvorbis.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/mixxx/files/patch-src_soundsourceoggvorbis.cpp b/audio/mixxx/files/patch-src_soundsourceoggvorbis.cpp
new file mode 100644
index 00000000000..5e3d66439f1
--- /dev/null
+++ b/audio/mixxx/files/patch-src_soundsourceoggvorbis.cpp
@@ -0,0 +1,18 @@
+--- src/soundsourceoggvorbis.cpp.orig 2013-05-08 23:20:26 UTC
++++ src/soundsourceoggvorbis.cpp
+@@ -32,6 +32,15 @@
+ #endif
+ #endif
+
++#ifdef __BSD__
++#include <sys/endian.h>
++#if _BYTE_ORDER == _LITTLE_ENDIAN
++#define OV_ENDIAN_ARG 0
++#else
++#define OV_ENDIAN_ARG 1
++#endif
++#endif
++
+ #ifdef __LINUX__
+ #include <endian.h>
+ #if __BYTE_ORDER == __LITTLE_ENDIAN