openbsd-ports/net/pidgin/patches/patch-pidgin_gtknotify_c
steven 8f6bd65375 update to pidgin 2.6.2
from Brad (maintainer)
2009-09-08 06:35:24 +00:00

21 lines
461 B
Plaintext

$OpenBSD: patch-pidgin_gtknotify_c,v 1.11 2009/09/08 06:35:24 steven Exp $
--- pidgin/gtknotify.c.orig Sat Sep 5 17:12:04 2009
+++ pidgin/gtknotify.c Mon Sep 7 12:31:33 2009
@@ -1235,7 +1235,16 @@ uri_command(const char *command, gboolean sync)
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
{