summaryrefslogtreecommitdiff
path: root/audio/grip/files/patch-ac
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-09-05 01:33:44 +0000
committerSteve Price <steve@FreeBSD.org>2000-09-05 01:33:44 +0000
commit378999b03ede3a4f8fcad856ed22cc950320d533 (patch)
treece3eb75670200b9c73b04d0914f7bf823bae4234 /audio/grip/files/patch-ac
parentUpdate to version 0.7.4. (diff)
Avoids bus errors by closing and re-initializing the device before we
try to re-open it. PR: 20979 Submitted by: Orion Hodson <O.Hodson@cs.ucl.ac.uk>
Notes
Notes: svn path=/head/; revision=32272
Diffstat (limited to 'audio/grip/files/patch-ac')
-rw-r--r--audio/grip/files/patch-ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/grip/files/patch-ac b/audio/grip/files/patch-ac
new file mode 100644
index 000000000000..454fef3fd7e1
--- /dev/null
+++ b/audio/grip/files/patch-ac
@@ -0,0 +1,14 @@
+--- cd.c.orig Tue Apr 18 10:37:44 2000
++++ cd.c Mon Sep 4 17:59:26 2000
+@@ -98,6 +98,11 @@
+ return cd_desc;
+ }
+
++void CDCloseDevice(int cd_desc)
++{
++ close(cd_desc);
++}
++
+ /* Update a CD status structure... because operating system interfaces vary
+ so does this function. */
+