diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2003-08-31 10:18:57 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2003-08-31 10:18:57 +0000 |
commit | 6525b58fdc91ef0af30247bd193edabb5b2b361c (patch) | |
tree | 9e12c943821a26b9eeebd8132e4ed895e4c41c6a /audio/aureal-kmod | |
parent | 3cc72bcc057166e6d2e41edbe4fb4797daff35e7 (diff) | |
download | ports-6525b58fdc91ef0af30247bd193edabb5b2b361c.tar.gz ports-6525b58fdc91ef0af30247bd193edabb5b2b361c.zip |
Notes
Diffstat (limited to 'audio/aureal-kmod')
-rw-r--r-- | audio/aureal-kmod/Makefile | 2 | ||||
-rw-r--r-- | audio/aureal-kmod/files/patch-au88x0.c | 16 |
2 files changed, 13 insertions, 5 deletions
diff --git a/audio/aureal-kmod/Makefile b/audio/aureal-kmod/Makefile index a99f46373d65..2ebd40d6dd1b 100644 --- a/audio/aureal-kmod/Makefile +++ b/audio/aureal-kmod/Makefile @@ -7,7 +7,7 @@ PORTNAME= aureal-kmod PORTVERSION= 1.5 -PORTREVISION= 5 +PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= http://home.columbus.rr.com/amatey/au88x0/ DISTNAME= au88x0-${PORTVERSION}_${PORTREVISION} diff --git a/audio/aureal-kmod/files/patch-au88x0.c b/audio/aureal-kmod/files/patch-au88x0.c index 1b64f382b9bb..99c7a814af86 100644 --- a/audio/aureal-kmod/files/patch-au88x0.c +++ b/audio/aureal-kmod/files/patch-au88x0.c @@ -1,9 +1,9 @@ $FreeBSD$ ---- au88x0.c.orig Mon Jan 15 18:44:49 2001 -+++ au88x0.c Mon Jan 15 18:44:49 2001 -@@ -32,7 +32,8 @@ +--- au88x0.c.orig Fri May 10 10:34:49 2002 ++++ au88x0.c Sun Aug 31 17:22:38 2003 +@@ -29,10 +29,16 @@ */ #include <dev/sound/pcm/sound.h> @@ -11,9 +11,17 @@ $FreeBSD$ +#include "au88x0.h" +#include <sys/systm.h> ++#if __FreeBSD_version < 500000 #include <pci/pcireg.h> #include <pci/pcivar.h> -@@ -852,7 +853,11 @@ ++#else ++#include <dev/pci/pcireg.h> ++#include <dev/pci/pcivar.h> ++#endif + #include <sys/queue.h> + + SND_DECLARE_FILE("$FreeBSD$"); +@@ -852,7 +858,11 @@ /*highaddr*/BUS_SPACE_MAXADDR, /*filter*/NULL, /*filterarg*/NULL, /*maxsize*/AU_BUFFSIZE, /*nsegments*/1, /*maxsegz*/0x3ffff, |