From 6525b58fdc91ef0af30247bd193edabb5b2b361c Mon Sep 17 00:00:00 2001 From: FUJISHIMA Satsuki Date: Sun, 31 Aug 2003 10:18:57 +0000 Subject: 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. --- audio/aureal-kmod/Makefile | 2 +- audio/aureal-kmod/files/patch-au88x0.c | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'audio') 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 @@ -11,9 +11,17 @@ $FreeBSD$ +#include "au88x0.h" +#include ++#if __FreeBSD_version < 500000 #include #include -@@ -852,7 +853,11 @@ ++#else ++#include ++#include ++#endif + #include + + SND_DECLARE_FILE("$FreeBSD$"); +@@ -852,7 +858,11 @@ /*highaddr*/BUS_SPACE_MAXADDR, /*filter*/NULL, /*filterarg*/NULL, /*maxsize*/AU_BUFFSIZE, /*nsegments*/1, /*maxsegz*/0x3ffff, -- cgit v1.2.3