aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/gnome-media/files/patch-ad9
-rw-r--r--audio/gnomemedia/files/patch-ad9
-rw-r--r--audio/gnomemedia2/files/patch-ad9
3 files changed, 15 insertions, 12 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)
diff --git a/audio/gnomemedia/files/patch-ad b/audio/gnomemedia/files/patch-ad
index 6a817788707f..8c2d1acfb01f 100644
--- a/audio/gnomemedia/files/patch-ad
+++ b/audio/gnomemedia/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)
diff --git a/audio/gnomemedia2/files/patch-ad b/audio/gnomemedia2/files/patch-ad
index 6a817788707f..8c2d1acfb01f 100644
--- a/audio/gnomemedia2/files/patch-ad
+++ b/audio/gnomemedia2/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)