diff options
Diffstat (limited to 'audio/gnome-media/files/patch-ad')
-rw-r--r-- | audio/gnome-media/files/patch-ad | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/audio/gnome-media/files/patch-ad b/audio/gnome-media/files/patch-ad deleted file mode 100644 index 9dc4efce4c88..000000000000 --- a/audio/gnome-media/files/patch-ad +++ /dev/null @@ -1,45 +0,0 @@ ---- gmix/gmix.c.orig Tue May 7 00:43:15 2002 -+++ gmix/gmix.c Tue May 7 00:47:38 2002 -@@ -60,7 +60,7 @@ - #ifdef HAVE_LINUX_SOUNDCARD_H - #include <linux/soundcard.h> - #else --#include <machine/soundcard.h> -+#include <sys/soundcard.h> - #endif - #endif - -@@ -569,12 +569,7 @@ - /* - * open the mixer-device - */ -- if (num == 0) { -- sprintf (device_name, "/dev/mixer"); -- } else { -- sprintf (device_name, "/dev/mixer%i", num); -- } -- -+ sprintf(device_name, "/dev/mixer%i", num); - new_device->fd = open (device_name, O_RDWR, 0); - - if (new_device->fd < 0) { -@@ -689,6 +684,7 @@ - - cnt = 0; - devices = NULL; -+ num_mixers = 0; - device_by_name = g_hash_table_new (g_str_hash, g_str_equal); - - do { -@@ -697,9 +693,8 @@ - devices = g_list_append (devices, new_device); - g_hash_table_insert (device_by_name, new_device->info.name, new_device); - } -- } while (new_device); -- -- num_mixers = cnt - 1; -+ } while ((errno == EACCES) || (errno == EINVAL) || (errno == ENXIO) \ -+ || new_device); - } - - device_info * |