diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2002-10-10 11:17:42 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2002-10-10 11:17:42 +0800 |
commit | 437a0db93c38c72ed9eb9290230439024a05bb87 (patch) | |
tree | 6e47f74c369a259471f5aae5b0b46cdf2053bbc8 /audio/gnomemedia2/files | |
parent | cdedee21cb0b13ddf8bfc2cec502a0c72a46efee (diff) | |
download | marcuscom-ports-437a0db93c38c72ed9eb9290230439024a05bb87.tar marcuscom-ports-437a0db93c38c72ed9eb9290230439024a05bb87.tar.gz marcuscom-ports-437a0db93c38c72ed9eb9290230439024a05bb87.tar.bz2 marcuscom-ports-437a0db93c38c72ed9eb9290230439024a05bb87.tar.lz marcuscom-ports-437a0db93c38c72ed9eb9290230439024a05bb87.tar.xz marcuscom-ports-437a0db93c38c72ed9eb9290230439024a05bb87.tar.zst marcuscom-ports-437a0db93c38c72ed9eb9290230439024a05bb87.zip |
Add gnomemedia2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@38 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/gnomemedia2/files')
-rw-r--r-- | audio/gnomemedia2/files/patch-ad | 45 | ||||
-rw-r--r-- | audio/gnomemedia2/files/patch-configure | 10 | ||||
-rw-r--r-- | audio/gnomemedia2/files/patch-gmix::prefs.c | 11 |
3 files changed, 66 insertions, 0 deletions
diff --git a/audio/gnomemedia2/files/patch-ad b/audio/gnomemedia2/files/patch-ad new file mode 100644 index 000000000..9dc4efce4 --- /dev/null +++ b/audio/gnomemedia2/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/gnomemedia2/files/patch-configure b/audio/gnomemedia2/files/patch-configure new file mode 100644 index 000000000..69445f92c --- /dev/null +++ b/audio/gnomemedia2/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/gnomemedia2/files/patch-gmix::prefs.c b/audio/gnomemedia2/files/patch-gmix::prefs.c new file mode 100644 index 000000000..b25b42b97 --- /dev/null +++ b/audio/gnomemedia2/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 + |