aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gnomemedia2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-08-17 03:21:14 +0800
committermarcus <marcus@FreeBSD.org>2003-08-17 03:21:14 +0800
commit4b1ee05f0bb60ae23e2dc47439003e3e647fb93f (patch)
tree570f240f870195b371cb5b2b03b6ee466e88eb1a /audio/gnomemedia2
parent018f14ae7ad61a3e7336dd7a21293e3a7f2650a9 (diff)
downloadfreebsd-ports-gnome-4b1ee05f0bb60ae23e2dc47439003e3e647fb93f.tar.gz
freebsd-ports-gnome-4b1ee05f0bb60ae23e2dc47439003e3e647fb93f.tar.zst
freebsd-ports-gnome-4b1ee05f0bb60ae23e2dc47439003e3e647fb93f.zip
Fix build on -CURRENT with revision 1.42 of sys/soundcard.h.
Submitted by: Shin-ichi Yoshimoto <yosimoto@waishi.jp> (based on)
Diffstat (limited to 'audio/gnomemedia2')
-rw-r--r--audio/gnomemedia2/files/patch-gmix_gmix.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/gnomemedia2/files/patch-gmix_gmix.h b/audio/gnomemedia2/files/patch-gmix_gmix.h
new file mode 100644
index 000000000000..600110df6a9f
--- /dev/null
+++ b/audio/gnomemedia2/files/patch-gmix_gmix.h
@@ -0,0 +1,11 @@
+--- 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
+ {