aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2008-01-15 02:38:09 +0800
committerjkim <jkim@FreeBSD.org>2008-01-15 02:38:09 +0800
commit23b8fc69ea2d0a0aa62f61b12a0abc635e6d6f94 (patch)
tree94793b988b951fb55d93f9638914ef6f0ed18363 /audio
parentfec0401fef69d0ef4a5343f2f1f93371fe41fbda (diff)
downloadfreebsd-ports-gnome-23b8fc69ea2d0a0aa62f61b12a0abc635e6d6f94.tar.gz
freebsd-ports-gnome-23b8fc69ea2d0a0aa62f61b12a0abc635e6d6f94.tar.zst
freebsd-ports-gnome-23b8fc69ea2d0a0aa62f61b12a0abc635e6d6f94.zip
Work around DMA buffer allocation failure for sblive.
Tested by: trasz
Diffstat (limited to 'audio')
-rw-r--r--audio/oss/Makefile2
-rw-r--r--audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/audio/oss/Makefile b/audio/oss/Makefile
index 8bd593268694..350b682c4c63 100644
--- a/audio/oss/Makefile
+++ b/audio/oss/Makefile
@@ -7,7 +7,7 @@
PORTNAME= oss
DISTVERSION= 4.0-build1012
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio kld
MASTER_SITES= http://www.opensound.com/developer/sources/stable/bsd/
DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-bsd
diff --git a/audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c b/audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c
new file mode 100644
index 000000000000..0bdeee3233e4
--- /dev/null
+++ b/audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c
@@ -0,0 +1,11 @@
+--- setup/FreeBSD/oss/build/osscore.c.orig 2008-01-14 12:51:36.000000000 -0500
++++ setup/FreeBSD/oss/build/osscore.c 2008-01-14 12:53:37.000000000 -0500
+@@ -264,7 +264,7 @@
+ *phaddr = 0;
+
+ tmpbuf =
+- (char *) contigmalloc (buffsize, M_DEVBUF, M_NOWAIT, 0ul, memlimit,
++ (char *) contigmalloc (buffsize, M_DEVBUF, M_WAITOK, 0ul, memlimit,
+ PAGE_SIZE, 0ul);
+ if (tmpbuf == NULL)
+ {