summaryrefslogtreecommitdiff
path: root/net/ed2k-gtk-gui
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-12-18 21:45:22 +0000
committerminskim <minskim@pkgsrc.org>2004-12-18 21:45:22 +0000
commitcad04c6784f89060d2b9e9ef67ba40af4be59074 (patch)
tree92443cd350a7f359e50147207b24851283662f7d /net/ed2k-gtk-gui
parent4df5c48cc492930939d66e8c5c435f85b4be53fa (diff)
downloadpkgsrc-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')
-rw-r--r--net/ed2k-gtk-gui/distinfo3
-rw-r--r--net/ed2k-gtk-gui/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/ed2k-gtk-gui/distinfo b/net/ed2k-gtk-gui/distinfo
index 199bb4b8813..9c6469cdd4a 100644
--- a/net/ed2k-gtk-gui/distinfo
+++ b/net/ed2k-gtk-gui/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.3 2004/11/25 20:02:46 minskim Exp $
+$NetBSD: distinfo,v 1.4 2004/12/18 21:45:22 minskim Exp $
SHA1 (ed2k-gtk-gui-0.6.3.tar.gz) = b5474717b1b9cdeddae8cc707fe9809608138dc1
Size (ed2k-gtk-gui-0.6.3.tar.gz) = 1993079 bytes
+SHA1 (patch-aa) = d47d9302cd13a8ca3d9488f7e2563e0c33265e1d
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);