From c708a68edf6a06090ecb445a39ce16d00c443d3e Mon Sep 17 00:00:00 2001 From: Michael Scheidell Date: Tue, 6 Dec 2011 21:17:04 +0000 Subject: -added extra patch so it will build on 8.0+ -submitted is now maintainer PR: ports/162349 Submitted by: maintainer Approved by: gabor(mentor) Feature safe: yes --- audio/aureal-kmod/Makefile | 2 +- audio/aureal-kmod/files/aureal.in | 4 ++-- audio/aureal-kmod/files/pkg-message.in | 5 ----- 3 files changed, 3 insertions(+), 8 deletions(-) (limited to 'audio') diff --git a/audio/aureal-kmod/Makefile b/audio/aureal-kmod/Makefile index 4b1ccda2501c..99438e2bf297 100644 --- a/audio/aureal-kmod/Makefile +++ b/audio/aureal-kmod/Makefile @@ -38,7 +38,7 @@ MAKE_ARGS= KMODDIR="${KMODDIR}" .include .if ${OSVERSION} >= 800000 -BROKEN= doesn't build on RELENG_8 +EXTRA_PATCHES+= ${PATCHDIR}/extra_800000_patch-au88x0.c .endif # Make sure kernel sources are present before going any further diff --git a/audio/aureal-kmod/files/aureal.in b/audio/aureal-kmod/files/aureal.in index d826a6a50f4c..58b543ecb617 100644 --- a/audio/aureal-kmod/files/aureal.in +++ b/audio/aureal-kmod/files/aureal.in @@ -61,7 +61,7 @@ aureal_start() if [ ! -f ${KMODDIR}/${DRIVERFILE}.ko ]; then err 64 "${KMODDIR}/${DRIVERFILE} for ${aureal_card} not found!" fi - if ! kldstat -qm ${DRIVERFILE}; then + if ! kldstat -qm pci/snd_au88x0; then if ! kldload ${KMODDIR}/${DRIVERFILE}.ko; then warn 'aureal module failed to load' return 1 @@ -87,7 +87,7 @@ aureal_start() aureal_stop() { aureal_detect - kldstat -qm ${DRIVERFILE} && kldunload ${DRIVERFILE} + kldstat -qm pci/snd_au88x0 && kldunload ${DRIVERFILE} return 0 } diff --git a/audio/aureal-kmod/files/pkg-message.in b/audio/aureal-kmod/files/pkg-message.in index 1de583090000..b9bab54cd63d 100644 --- a/audio/aureal-kmod/files/pkg-message.in +++ b/audio/aureal-kmod/files/pkg-message.in @@ -29,9 +29,4 @@ in your /etc/rc.conf. Please note that you also need to have the 'sound.ko' moduld loaded already. -Report problems to Alexander Matey . - -Thanks and enjoy! - --Maxim ------------------------------------------------------------------------------- -- cgit v1.3