diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-24 14:30:01 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-24 14:30:01 +0000 |
commit | e5baaae09b37ea2bc2a7199bdb6523248fa42d77 (patch) | |
tree | 28730b38ce966dab243acf6232a8bf54f47a7763 /devel/clanlib/files/patch-Sources::Sound::Sound::ClanSound::oss.cpp | |
parent | Add pxfonts 1.0, yet another Palatino-style font for LaTeX. (diff) |
- Downgrate to last stable release, 0.6.5.1
- Give maintainership to submitter
PR: ports/61738
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Notes
Notes:
svn path=/head/; revision=98958
Diffstat (limited to 'devel/clanlib/files/patch-Sources::Sound::Sound::ClanSound::oss.cpp')
-rw-r--r-- | devel/clanlib/files/patch-Sources::Sound::Sound::ClanSound::oss.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/clanlib/files/patch-Sources::Sound::Sound::ClanSound::oss.cpp b/devel/clanlib/files/patch-Sources::Sound::Sound::ClanSound::oss.cpp new file mode 100644 index 000000000000..37d92875dce9 --- /dev/null +++ b/devel/clanlib/files/patch-Sources::Sound::Sound::ClanSound::oss.cpp @@ -0,0 +1,17 @@ +--- Sources/Sound/Sound/ClanSound/oss.cpp.orig Thu Jan 22 13:09:00 2004 ++++ Sources/Sound/Sound/ClanSound/oss.cpp Thu Jan 22 13:10:07 2004 +@@ -28,6 +28,14 @@ + #include "API/Core/System/system.h" + #include <Sound/Sound/ClanSound/oss.h> + ++#ifndef 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 ++ + // If USE_DRIVER_FRAGSIZE is defined, we use the fragsize (and number of them) + // used by the soundcard driver. This is not as efficient as using our own + // settings - mainly provided for debugging. |