aboutsummaryrefslogtreecommitdiff
path: root/audio/aureal-kmod
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2004-08-04 21:15:37 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2004-08-04 21:15:37 +0000
commit8c0e046901c1a5fa85f726718c63cfc99b883059 (patch)
tree9f15362050e4daefd65357d42bd95d37d86e4281 /audio/aureal-kmod
parent66b402031a4ea27af5333ae80abb5c6d2f55cd4a (diff)
downloadports-8c0e046901c1a5fa85f726718c63cfc99b883059.tar.gz
ports-8c0e046901c1a5fa85f726718c63cfc99b883059.zip
Notes
Diffstat (limited to 'audio/aureal-kmod')
-rw-r--r--audio/aureal-kmod/files/patch-au88x0.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/audio/aureal-kmod/files/patch-au88x0.c b/audio/aureal-kmod/files/patch-au88x0.c
index 99c7a814af86..e04d3009dd1b 100644
--- a/audio/aureal-kmod/files/patch-au88x0.c
+++ b/audio/aureal-kmod/files/patch-au88x0.c
@@ -1,8 +1,8 @@
$FreeBSD$
---- au88x0.c.orig Fri May 10 10:34:49 2002
-+++ au88x0.c Sun Aug 31 17:22:38 2003
+--- au88x0.c.orig Fri May 10 10:32:55 2002
++++ au88x0.c Thu Aug 5 05:44:30 2004
@@ -29,10 +29,16 @@
*/
@@ -34,3 +34,14 @@ $FreeBSD$
device_printf(dev, "unable to create dma tag\n");
goto bad;
}
+@@ -942,6 +952,10 @@
+
+
+ DRIVER_MODULE(snd_au88x0, pci, au_driver, pcm_devclass, 0, 0);
++#if __FreeBSD_version > 502124
++MODULE_DEPEND(snd_au88x0, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
++#else
+ MODULE_DEPEND(snd_au88x0, snd_pcm, PCM_MINVER, PCM_PREFVER, PCM_MAXVER);
++#endif
+ MODULE_VERSION(snd_au88x0, 1);
+