summaryrefslogtreecommitdiff
path: root/net/gnomemeeting2/files/patch-ai
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2001-08-17 17:37:22 +0000
committerRoger Hardiman <roger@FreeBSD.org>2001-08-17 17:37:22 +0000
commit97255dd6d35692c9190e9729badce124803dfaf3 (patch)
treeb768e7d686480917e135aa9a4bbfe2bbc95a2d20 /net/gnomemeeting2/files/patch-ai
parentadd imp (diff)
Upgrade to version 0.10. This uses the latest pwlib library and can
transmit and receive video if you have a video capture card supported by the bktr or meteor drivers.
Notes
Notes: svn path=/head/; revision=46385
Diffstat (limited to '')
-rw-r--r--net/gnomemeeting2/files/patch-ai41
1 files changed, 41 insertions, 0 deletions
diff --git a/net/gnomemeeting2/files/patch-ai b/net/gnomemeeting2/files/patch-ai
new file mode 100644
index 000000000000..77763d4e07fa
--- /dev/null
+++ b/net/gnomemeeting2/files/patch-ai
@@ -0,0 +1,41 @@
+*** src/config.cpp.orig Mon Aug 13 17:19:15 2001
+--- src/config.cpp Fri Aug 17 18:03:23 2001
+*************** void read_config (options *opts)
+*** 161,167 ****
+ // Do not free key and value as they are assigned as pointers to opts->audio_codecs
+ cpt++;
+ }
+!
+ }
+
+
+--- 161,175 ----
+ // Do not free key and value as they are assigned as pointers to opts->audio_codecs
+ cpt++;
+ }
+!
+! /* handle old config files which do not have a Devices section */
+! if(opts->audio_device == NULL) opts->audio_device="/dev/dsp";
+! if(opts->audio_mixer == NULL) opts->audio_mixer="/dev/mixer";
+! #ifdef __linux__
+! if(opts->video_device == NULL) opts->video_device="/dev/video";
+! #else
+! if(opts->video_device == NULL) opts->video_device="/dev/bktr0";
+! #endif
+ }
+
+
+*************** void init_config (void)
+*** 419,425 ****
+--- 427,437 ----
+
+ gnome_config_set_string ("Devices/audio_device", "/dev/dsp");
+ gnome_config_set_string ("Devices/audio_mixer", "/dev/mixer");
++ #ifdef __linux__
+ gnome_config_set_string ("Devices/video_device", "/dev/video");
++ #else
++ gnome_config_set_string ("Devices/video_device", "/dev/bktr0");
++ #endif
+ gnome_config_set_int ("Devices/video_channel", 0);
+
+ gnome_config_set_string ("Placement/Dock",