diff options
Diffstat (limited to 'audio/gnome-media/files')
-rw-r--r-- | audio/gnome-media/files/patch-ad | 45 | ||||
-rw-r--r-- | audio/gnome-media/files/patch-configure | 10 | ||||
-rw-r--r-- | audio/gnome-media/files/patch-gmix::prefs.c | 11 |
3 files changed, 66 insertions, 0 deletions
diff --git a/audio/gnome-media/files/patch-ad b/audio/gnome-media/files/patch-ad new file mode 100644 index 000000000..9dc4efce4 --- /dev/null +++ b/audio/gnome-media/files/patch-ad @@ -0,0 +1,45 @@ +--- 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 * diff --git a/audio/gnome-media/files/patch-configure b/audio/gnome-media/files/patch-configure new file mode 100644 index 000000000..69445f92c --- /dev/null +++ b/audio/gnome-media/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig Tue May 7 01:02:03 2002 ++++ configure Tue May 7 01:04:35 2002 +@@ -7978,6 +7978,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/audio/gnome-media/files/patch-gmix::prefs.c b/audio/gnome-media/files/patch-gmix::prefs.c new file mode 100644 index 000000000..b25b42b97 --- /dev/null +++ b/audio/gnome-media/files/patch-gmix::prefs.c @@ -0,0 +1,11 @@ +--- gmix/prefs.c.orig Tue May 7 00:52:42 2002 ++++ gmix/prefs.c Tue May 7 00:52:54 2002 +@@ -38,7 +38,7 @@ + #ifdef HAVE_LINUX_SOUNDCARD_H + #include <linux/soundcard.h> + #else +-#include <machine/soundcard.h> ++#include <sys/soundcard.h> + #endif + #endif + |