summaryrefslogtreecommitdiff
path: root/audio/esound/files/patch-audio_oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/esound/files/patch-audio_oss.c')
-rw-r--r--audio/esound/files/patch-audio_oss.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/audio/esound/files/patch-audio_oss.c b/audio/esound/files/patch-audio_oss.c
index fffbb1d96b84..73aa38a82b0f 100644
--- a/audio/esound/files/patch-audio_oss.c
+++ b/audio/esound/files/patch-audio_oss.c
@@ -1,10 +1,14 @@
-
-$FreeBSD$
-
---- audio_oss.c 2001/10/09 14:15:03 1.1
-+++ audio_oss.c 2001/10/09 14:15:40
-@@ -12,7 +12,7 @@
+--- audio_oss.c.orig Tue Jun 4 08:55:37 2002
++++ audio_oss.c Sun Jun 9 01:55:21 2002
+@@ -10,9 +10,14 @@
+ # endif
+ #endif
++#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? */
-#ifdef __FreeBSD__