Resurrect the threading hacks, it seems rthreads doesn't help here.

This commit is contained in:
ajacoutot 2012-03-29 11:44:21 +00:00
parent dfa24a2162
commit 65395f5671
3 changed files with 34 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.52 2012/03/29 06:45:57 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.53 2012/03/29 11:44:21 ajacoutot Exp $
COMMENT= dialogs for GNOME
GNOME_PROJECT= zenity
GNOME_VERSION= 3.4.0
REVISION= 0
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_progress_c,v 1.7 2012/03/29 11:44:21 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=653468
--auto-close broken by fix for #540560
--- src/progress.c.orig Tue Aug 16 15:52:42 2011
+++ src/progress.c Thu Mar 29 13:42:33 2012
@@ -183,7 +183,7 @@ zenity_progress_handle_stdin (GIOChannel *channel,
g_string_free (string, TRUE);
}
- if ((condition != G_IO_IN) && (condition != G_IO_IN + G_IO_HUP)) {
+ if (condition != G_IO_IN) {
/* We assume that we are done, so stop the pulsating and de-sensitize the buttons */
GtkWidget *button;

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_tree_c,v 1.4 2012/03/29 11:44:21 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=653468
--auto-close broken by fix for #540560
--- src/tree.c.orig Fri Mar 23 14:46:09 2012
+++ src/tree.c Thu Mar 29 13:42:37 2012
@@ -187,7 +187,7 @@ zenity_tree_handle_stdin (GIOChannel *channel,
g_string_free (string, TRUE);
}
- if ((condition != G_IO_IN) && (condition != G_IO_IN + G_IO_HUP)) {
+ if (condition != G_IO_IN) {
g_io_channel_shutdown (channel, TRUE, NULL);
return FALSE;
}