aboutsummaryrefslogtreecommitdiff
path: root/audio/darkice/files
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2003-02-10 21:38:47 +0000
committerPatrick Li <pat@FreeBSD.org>2003-02-10 21:38:47 +0000
commit75f824b2c56d01a1865b930ec8bef5543569c3c2 (patch)
tree80afcba9546e276d7b0b50994c6c5cddcee8ac43 /audio/darkice/files
parent44ed515b4fef5f24fbc5d86de507ea351c14c8c6 (diff)
downloadports-75f824b2c56d01a1865b930ec8bef5543569c3c2.tar.gz
ports-75f824b2c56d01a1865b930ec8bef5543569c3c2.zip
Update to 0.13
PR: ports/48142 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=75263
Diffstat (limited to 'audio/darkice/files')
-rw-r--r--audio/darkice/files/patch-src_OssDspSource.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/darkice/files/patch-src_OssDspSource.cpp b/audio/darkice/files/patch-src_OssDspSource.cpp
new file mode 100644
index 000000000000..52a181145687
--- /dev/null
+++ b/audio/darkice/files/patch-src_OssDspSource.cpp
@@ -0,0 +1,16 @@
+--- src/OssDspSource.cpp.orig Sun Jan 26 18:48:57 2003
++++ src/OssDspSource.cpp Mon Feb 10 21:40:43 2003
+@@ -86,6 +86,13 @@
+ #error need sys/soundcard.h
+ #endif
+
++#if defined(__FreeBSD__)
++#if defined(__sparc__) || defined(__powerpc__)
++#define AFMT_S16_NE AFMT_S16_BE
++#else
++#define AFMT_S16_NE AFMT_S16_LE
++#endif
++#endif
+
+ #include "Util.h"
+ #include "Exception.h"