aboutsummaryrefslogtreecommitdiff
path: root/audio/gnome-media
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>1999-03-09 03:07:01 +0000
committerJacques Vidrine <nectar@FreeBSD.org>1999-03-09 03:07:01 +0000
commit7bfa022f21c5925a961e6fecf78b847446da0ed0 (patch)
tree688f9b0a508c127d7c5287528fd2015b8f8ecfa7 /audio/gnome-media
parent4fc1b30cf918d83b8fa10f0d1420578b69833777 (diff)
downloadports-7bfa022f21c5925a961e6fecf78b847446da0ed0.tar.gz
ports-7bfa022f21c5925a961e6fecf78b847446da0ed0.zip
Patch audio device scanning so that it doesn't quit when it fails
to open an audio device with ENXIO (Device not configured). This is likely needed on systems using the pcm sound driver.
Notes
Notes: svn path=/head/; revision=17095
Diffstat (limited to 'audio/gnome-media')
-rw-r--r--audio/gnome-media/files/patch-ad9
1 files changed, 5 insertions, 4 deletions
diff --git a/audio/gnome-media/files/patch-ad b/audio/gnome-media/files/patch-ad
index 6a817788707f..8c2d1acfb01f 100644
--- a/audio/gnome-media/files/patch-ad
+++ b/audio/gnome-media/files/patch-ad
@@ -1,5 +1,5 @@
---- gmix/gmix.c.orig Fri Feb 19 18:30:49 1999
-+++ gmix/gmix.c Wed Mar 3 10:49:51 1999
+--- gmix/gmix.c.orig Sun Feb 21 12:10:17 1999
++++ gmix/gmix.c Mon Mar 8 20:41:05 1999
@@ -94,6 +94,17 @@
/*
* All, that is known about a mixer-device
@@ -52,7 +52,7 @@
/*
* several bitmasks describing the mixer
*/
-@@ -386,15 +400,15 @@
+@@ -386,15 +400,16 @@
{
int cnt;
device_info *new_device;
@@ -67,7 +67,8 @@
}
- } while (new_device);
- num_mixers=cnt-1;
-+ } while ((errno == EACCES) || (errno == EINVAL) || new_device);
++ } while ((errno == EACCES) || (errno == EINVAL) || (errno == ENXIO) \
++ || new_device);
}
void free_one_device(gpointer a, gpointer b)