freebsd-ports/audio/ccaudio2/files/patch-src_friends.cpp
Jason E. Hale 14200ea79a - Update devel/ucommon to 7.0.0
- Bump PORTREVISION on dependent ports due to shlib bump

- Update audio/ccaudio2 to 2.2.0
- Add LICENSE
- Fix detection of gsm and speex
2016-01-14 03:23:07 +00:00

14 lines
401 B
C++

--- src/friends.cpp.orig 2015-11-03 08:30:29 UTC
+++ src/friends.cpp
@@ -22,7 +22,10 @@
#include <math.h>
#include <ctype.h>
#ifdef HAVE_ENDIAN_H
-#include <endian.h>
+#include <sys/endian.h>
+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
+#define __BIG_ENDIAN (_BYTE_ORDER == _BIG_ENDIAN)
+#define __BYTE_ORDER _BYTE_ORDER
#endif
#include <ucommon/export.h>
#include <ccaudio2.h>