diff options
author | 2006-09-02 11:33:59 +0000 | |
---|---|---|
committer | 2006-09-02 11:33:59 +0000 | |
commit | e1bd594273c33d25c5f25de30fad107c9791abd4 (patch) | |
tree | abd932957c8eb28ed5e6b55174373aeceb68202b /media-sound/pulseaudio/files | |
parent | Stable on ppc wrt bug 145905 (diff) | |
download | gentoo-2-e1bd594273c33d25c5f25de30fad107c9791abd4.tar.gz gentoo-2-e1bd594273c33d25c5f25de30fad107c9791abd4.tar.bz2 gentoo-2-e1bd594273c33d25c5f25de30fad107c9791abd4.zip |
Add patch to build on FreeBSD, and re add ~x86-fbsd keyword.
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'media-sound/pulseaudio/files')
-rw-r--r-- | media-sound/pulseaudio/files/pulseaudio-0.9.5-fbsd.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-sound/pulseaudio/files/pulseaudio-0.9.5-fbsd.patch b/media-sound/pulseaudio/files/pulseaudio-0.9.5-fbsd.patch new file mode 100644 index 000000000000..d1105774d65f --- /dev/null +++ b/media-sound/pulseaudio/files/pulseaudio-0.9.5-fbsd.patch @@ -0,0 +1,44 @@ +Index: src/utils/padsp.c +=================================================================== +--- src/utils/padsp.c (revision 1358) ++++ src/utils/padsp.c (working copy) +@@ -53,6 +53,11 @@ + #include <pulsecore/llist.h> + #include <pulsecore/gccmacro.h> + ++/* On some systems SIOCINQ isn't defined, but FIONREAD is just an alias */ ++#if !defined(SIOCINQ) && defined(FIONREAD) ++# define SIOCINQ FIONREAD ++#endif ++ + typedef enum { + FD_INFO_MIXER, + FD_INFO_STREAM, +Index: src/modules/oss-util.c +=================================================================== +--- src/modules/oss-util.c (revision 1358) ++++ src/modules/oss-util.c (working copy) +@@ -93,7 +93,11 @@ + + pa_log_debug("capabilities:%s%s%s%s%s%s%s%s%s%s%s%s%s%s", + *pcaps & DSP_CAP_BATCH ? " BATCH" : "", ++#ifdef DSP_CAP_BIND + *pcaps & DSP_CAP_BIND ? " BIND" : "", ++#else ++ "", ++#endif + *pcaps & DSP_CAP_COPROC ? " COPROC" : "", + *pcaps & DSP_CAP_DUPLEX ? " DUPLEX" : "", + #ifdef DSP_CAP_FREERATE +@@ -112,7 +116,11 @@ + #else + "", + #endif ++#ifdef DSP_CAP_MULTI + *pcaps & DSP_CAP_MULTI ? " MULTI" : "", ++#else ++ "", ++#endif + #ifdef DSP_CAP_OUTPUT + *pcaps & DSP_CAP_OUTPUT ? " OUTPUT" : "", + #else |