diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-09-24 13:01:39 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-09-24 13:01:39 +0000 |
commit | 35b087134277cfee80970705036d9ac94fa5dbd2 (patch) | |
tree | 24c5b98bf7035cdc1e8cc3f76e87ab0394af367b /devel/clanlib-devel/files/patch-soundoutput_oss.cpp | |
parent | Update to version 0.09. (diff) |
- Update to version 0.7.4-1
PR: 57092
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'devel/clanlib-devel/files/patch-soundoutput_oss.cpp')
-rw-r--r-- | devel/clanlib-devel/files/patch-soundoutput_oss.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/clanlib-devel/files/patch-soundoutput_oss.cpp b/devel/clanlib-devel/files/patch-soundoutput_oss.cpp new file mode 100644 index 000000000000..6603e39bd5ac --- /dev/null +++ b/devel/clanlib-devel/files/patch-soundoutput_oss.cpp @@ -0,0 +1,17 @@ +--- Sources/Sound/Unix/soundoutput_oss.cpp.orig Fri Aug 22 19:32:54 2003 ++++ Sources/Sound/Unix/soundoutput_oss.cpp Mon Sep 8 01:45:46 2003 +@@ -34,6 +34,14 @@ + #include <sys/select.h> + #endif + ++#if !defined(AFMT_S16_NE) ++#if defined(BYTE_ORDER) && (BYTE_ORDER == BIG_ENDIAN) ++#define AFMT_S16_NE AFMT_S16_BE ++#else ++#define AFMT_S16_NE AFMT_S16_LE ++#endif ++#endif ++ + ///////////////////////////////////////////////////////////////////////////// + // CL_SoundOutput_OSS construction: + |