diff options
-rw-r--r-- | audio/aureal-kmod/Makefile | 2 | ||||
-rw-r--r-- | audio/aureal-kmod/files/patch-au88x0.c | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/audio/aureal-kmod/Makefile b/audio/aureal-kmod/Makefile index 71fbb70..40f01fd 100644 --- a/audio/aureal-kmod/Makefile +++ b/audio/aureal-kmod/Makefile @@ -7,7 +7,7 @@ PORTNAME= aureal-kmod PORTVERSION= 1.5 -PORTREVISION= 4 +PORTREVISION= 5 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 4612ffc..1b64f38 100644 --- a/audio/aureal-kmod/files/patch-au88x0.c +++ b/audio/aureal-kmod/files/patch-au88x0.c @@ -13,3 +13,16 @@ $FreeBSD$ #include <pci/pcireg.h> #include <pci/pcivar.h> +@@ -852,7 +853,11 @@ + /*highaddr*/BUS_SPACE_MAXADDR, + /*filter*/NULL, /*filterarg*/NULL, + /*maxsize*/AU_BUFFSIZE, /*nsegments*/1, /*maxsegz*/0x3ffff, +- /*flags*/0, &au->parent_dmat) != 0) { ++ /*flags*/0, ++#if __FreeBSD_version > 501102 ++ /*lockfunc*/NULL, /*lockarg*/NULL, ++#endif ++ &au->parent_dmat) != 0) { + device_printf(dev, "unable to create dma tag\n"); + goto bad; + } |