From 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 26 Jul 2016 16:51:15 +0000 Subject: Cleanup patches, a* categories. Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight --- audio/esound/files/patch-audio__oss.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 audio/esound/files/patch-audio__oss.c (limited to 'audio/esound/files/patch-audio__oss.c') 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 + ++#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 + -- cgit v1.2.3