diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-13 14:11:49 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-04-13 14:11:49 +0800 |
commit | b7fa0c11ff90b0eff5881aab152417967f1deb80 (patch) | |
tree | 458427a99fc5316f296a17d63cd32f9f8d01ce4b /audio/gnomemedia2/files/patch-ad | |
parent | 5ae14a2240577a339bd9062a7f7e126fb436318d (diff) | |
download | marcuscom-ports-b7fa0c11ff90b0eff5881aab152417967f1deb80.tar marcuscom-ports-b7fa0c11ff90b0eff5881aab152417967f1deb80.tar.gz marcuscom-ports-b7fa0c11ff90b0eff5881aab152417967f1deb80.tar.bz2 marcuscom-ports-b7fa0c11ff90b0eff5881aab152417967f1deb80.tar.lz marcuscom-ports-b7fa0c11ff90b0eff5881aab152417967f1deb80.tar.xz marcuscom-ports-b7fa0c11ff90b0eff5881aab152417967f1deb80.tar.zst marcuscom-ports-b7fa0c11ff90b0eff5881aab152417967f1deb80.zip |
Add gnomemedia2-2.3.x.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@629 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/gnomemedia2/files/patch-ad')
-rw-r--r-- | audio/gnomemedia2/files/patch-ad | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/audio/gnomemedia2/files/patch-ad b/audio/gnomemedia2/files/patch-ad new file mode 100644 index 000000000..f49a888a5 --- /dev/null +++ b/audio/gnomemedia2/files/patch-ad @@ -0,0 +1,31 @@ +--- gmix/gmix.c.orig Tue Oct 8 19:40:43 2002 ++++ gmix/gmix.c Fri Oct 11 09:20:13 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 + +@@ -722,6 +722,7 @@ + + cnt = 0; + devices = NULL; ++ num_mixers = 0; + device_by_name = g_hash_table_new (g_str_hash, g_str_equal); + + do { +@@ -730,9 +731,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 * |