diff options
author | minskim <minskim@pkgsrc.org> | 2004-12-18 21:45:22 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-12-18 21:45:22 +0000 |
commit | cad04c6784f89060d2b9e9ef67ba40af4be59074 (patch) | |
tree | 92443cd350a7f359e50147207b24851283662f7d /net/ed2k-gtk-gui/patches/patch-aa | |
parent | 4df5c48cc492930939d66e8c5c435f85b4be53fa (diff) | |
download | pkgsrc-cad04c6784f89060d2b9e9ef67ba40af4be59074.tar.gz |
Do not try to read from pipes after spawning overnet. This is a
workaround for the problem that g_spawn_sync() in glib2 hangs in
running overnet>=1.0.
Diffstat (limited to 'net/ed2k-gtk-gui/patches/patch-aa')
-rw-r--r-- | net/ed2k-gtk-gui/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/ed2k-gtk-gui/patches/patch-aa b/net/ed2k-gtk-gui/patches/patch-aa new file mode 100644 index 00000000000..18e45a33a79 --- /dev/null +++ b/net/ed2k-gtk-gui/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2004/12/18 21:45:22 minskim Exp $ + +--- ed2k_gui/connect-dialog.c.orig 2004-12-18 15:16:52.000000000 -0600 ++++ ed2k_gui/connect-dialog.c +@@ -1087,7 +1087,7 @@ connect_dialog_spawn_core (const gchar * + + cmd = g_strdup_printf ("%s --daemon -g -l", corepath); + +- g_spawn_command_line_sync (cmd, &sout, &serr, NULL, err); ++ g_spawn_command_line_sync (cmd, NULL, NULL, NULL, err); + + if (sout && *sout) + g_print ("\tcore stdout = '%s'\n", sout); |