pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ed2k-gtk-gui Do not try to read from pipes after s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9606226ec326
branches:  trunk
changeset: 485694:9606226ec326
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Dec 18 21:45:22 2004 +0000

description:
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:

 net/ed2k-gtk-gui/distinfo         |   3 ++-
 net/ed2k-gtk-gui/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 24756f8b3fb9 -r 9606226ec326 net/ed2k-gtk-gui/distinfo
--- a/net/ed2k-gtk-gui/distinfo Sat Dec 18 21:32:51 2004 +0000
+++ b/net/ed2k-gtk-gui/distinfo Sat Dec 18 21:45:22 2004 +0000
@@ -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 -r 24756f8b3fb9 -r 9606226ec326 net/ed2k-gtk-gui/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ed2k-gtk-gui/patches/patch-aa Sat Dec 18 21:45:22 2004 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index