summaryrefslogtreecommitdiff
path: root/audio/gnomemedia2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-08-16 19:21:14 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-08-16 19:21:14 +0000
commite8a77213479a9ee31bcf895f293b53d698677a72 (patch)
tree1ed3b179a443ccb703fe40f58915649e0619ea6d /audio/gnomemedia2
parentAdd a USE_AUTOCONF and unbreak. (diff)
Fix build on -CURRENT with revision 1.42 of sys/soundcard.h.
Submitted by: Shin-ichi Yoshimoto <yosimoto@waishi.jp> (based on)
Notes
Notes: svn path=/head/; revision=87080
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
+ {