1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/audio/mixxx/files/patch-src__soundsourceoggvorbis.cpp
Martin Wilke 4995e4a28e - Update to version 1.10.0
PR:		165004
Submitted by:	Ports Fury
2012-02-20 00:06:48 +00:00

19 lines
407 B
C++

--- src/soundsourceoggvorbis.cpp.orig 2011-12-24 11:53:20.000000000 +0900
+++ src/soundsourceoggvorbis.cpp 2012-01-16 06:10:09.000000000 +0900
@@ -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