diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/esound/files/patch-audio__oss.c | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'audio/esound/files/patch-audio__oss.c')
-rw-r--r-- | audio/esound/files/patch-audio__oss.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/esound/files/patch-audio__oss.c b/audio/esound/files/patch-audio__oss.c new file mode 100644 index 000000000000..ba70a323ca36 --- /dev/null +++ b/audio/esound/files/patch-audio__oss.c @@ -0,0 +1,18 @@ +--- 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 @@ + + #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 + #define SNDCTL_DSP_SETDUPLEX DSP_CAP_DUPLEX + #endif + |