openbsd-ports/net/gaim/patches/patch-gtk_gtknotify_c
2007-01-22 20:24:06 +00:00

21 lines
440 B
Plaintext

$OpenBSD: patch-gtk_gtknotify_c,v 1.2 2007/01/22 20:24:06 todd Exp $
--- gtk/gtknotify.c.orig Thu Jan 18 23:28:04 2007
+++ gtk/gtknotify.c Fri Jan 19 19:05:08 2007
@@ -915,7 +915,16 @@ uri_command(const char *command, gboolea
g_error_free(error);
}
else
+#if HAVE_SIGNAL_H
+ {
+ extern int real_status;
+
+ if (WIFEXITED(real_status))
+ ret = WEXITSTATUS(real_status);
+ }
+#else
ret = status;
+#endif
}
else
{