diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2008-01-14 18:38:09 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2008-01-14 18:38:09 +0000 |
commit | ea0c66586464963ebd688d06a10dab8575753006 (patch) | |
tree | da2180b6bb85db0d9bb0210b65936d98a248fd1d /audio/oss | |
parent | Remove support for 5-exp and add 7-exp, 8 and 8-exp (diff) |
Work around DMA buffer allocation failure for sblive.
Tested by: trasz
Notes
Notes:
svn path=/head/; revision=205659
Diffstat (limited to 'audio/oss')
-rw-r--r-- | audio/oss/Makefile | 2 | ||||
-rw-r--r-- | audio/oss/files/patch-setup-FreeBSD-oss-build-osscore.c | 11 |
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) + { |