diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2008-09-08 02:25:14 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2008-09-08 02:25:14 +0000 |
commit | 0d0680aaab03c9cbc9d3e2cd3f69f85ef8ae7228 (patch) | |
tree | 5c919de3c3054f9e1751ac43d262d258c9f9960b /audio/esound/files/patch-audio_oss.c | |
parent | Adding math/octave-forge-audio. (diff) |
Update to 0.2.40.
Diffstat (limited to 'audio/esound/files/patch-audio_oss.c')
-rw-r--r-- | audio/esound/files/patch-audio_oss.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/audio/esound/files/patch-audio_oss.c b/audio/esound/files/patch-audio_oss.c index a5d30b0dddb2..ba70a323ca36 100644 --- a/audio/esound/files/patch-audio_oss.c +++ b/audio/esound/files/patch-audio_oss.c @@ -1,21 +1,15 @@ ---- audio_oss.c.orig 2008-07-15 12:00:03.000000000 -0400 -+++ audio_oss.c 2008-07-17 13:56:25.000000000 -0400 -@@ -1,4 +1,5 @@ - #include "config.h" -+#include <errno.h> +--- audio_oss.c.orig 2008-07-29 14:07:50.000000000 -0400 ++++ audio_oss.c 2008-09-07 22:22:15.000000000 -0400 +@@ -12,8 +13,14 @@ - #ifdef HAVE_MACHINE_SOUNDCARD_H - # include <machine/soundcard.h> -@@ -10,9 +11,14 @@ - # endif - #endif + #include <errno.h> +#if defined(__sparc__) || defined(__powerpc__) +#define AFMT_S16_NE AFMT_S16_BE +#else +#define AFMT_S16_NE AFMT_S16_LE +#endif - ++ /* FreeBSD uses a different identifier? what other BSDs? */ -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#ifndef SNDCTL_DSP_SETDUPLEX |