summaryrefslogtreecommitdiff
path: root/audio/ccaudio2/files/patch-utils_audiotool.cpp
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2016-01-14 03:23:07 +0000
committerJason E. Hale <jhale@FreeBSD.org>2016-01-14 03:23:07 +0000
commit14200ea79a2677ec1e7319f484ac0b0df14dc2f2 (patch)
treec97a864264eb74bc11c07c5b2d28f7b34e2d18b0 /audio/ccaudio2/files/patch-utils_audiotool.cpp
parentNew port: devel/py-oslo.utils (diff)
- 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
Notes
Notes: svn path=/head/; revision=406089
Diffstat (limited to 'audio/ccaudio2/files/patch-utils_audiotool.cpp')
-rw-r--r--audio/ccaudio2/files/patch-utils_audiotool.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/ccaudio2/files/patch-utils_audiotool.cpp b/audio/ccaudio2/files/patch-utils_audiotool.cpp
new file mode 100644
index 000000000000..09d6efafbf3a
--- /dev/null
+++ b/audio/ccaudio2/files/patch-utils_audiotool.cpp
@@ -0,0 +1,14 @@
+--- utils/audiotool.cpp.orig 2015-11-03 08:30:29 UTC
++++ utils/audiotool.cpp
+@@ -20,7 +20,10 @@
+ #include <ccaudio2.h>
+ #include <ccaudio2-config.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
+
+ #if !defined(__BIG_ENDIAN)