diff options
author | sf <sf@FreeBSD.org> | 2003-08-31 18:18:57 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2003-08-31 18:18:57 +0800 |
commit | 2daeef3bd0bb27fdd96a0cd3a55ca7f47d794f16 (patch) | |
tree | c7431521c625fe274e977697ca66d9095ce911b6 /audio | |
parent | a1b4fb67332ca6d4c2dd53943573e3522ef6f57c (diff) | |
download | freebsd-ports-graphics-2daeef3bd0bb27fdd96a0cd3a55ca7f47d794f16.tar.gz freebsd-ports-graphics-2daeef3bd0bb27fdd96a0cd3a55ca7f47d794f16.tar.zst freebsd-ports-graphics-2daeef3bd0bb27fdd96a0cd3a55ca7f47d794f16.zip |
unbreak -CURRENT.
revert bogus PORTREVISION bumped in 1.15; This is perfectly safe because
no one on the earth was able to build aureal-kmod-1.5_5.
Diffstat (limited to 'audio')
-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 a99f46373d6..2ebd40d6dd1 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 1b64f382b9b..99c7a814af8 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, |