freebsd-ports/audio/gnome-media/files/patch-gmix_gmix.h
Joe Marcus Clarke e8a7721347 Fix build on -CURRENT with revision 1.42 of sys/soundcard.h.
Submitted by:	Shin-ichi Yoshimoto <yosimoto@waishi.jp> (based on)
2003-08-16 19:21:14 +00:00

11 lines
328 B
C

--- gmix/gmix.h.orig Sat Aug 16 15:13:57 2003
+++ gmix/gmix.h Sat Aug 16 15:14:47 2003
@@ -25,7 +25,7 @@
*/
#define GMIX_VERSION 0x030000
-#if defined(ALSA) || defined(__FreeBSD__)
+#if defined(ALSA) || (defined(__FreeBSD__) && !defined(SOUND_MIXER_INFO))
/* stolen from OSS's soundcard.h */
typedef struct mixer_info
{