openbsd-ports/net/pidgin/patches/patch-pidgin_gtknotify_c
steven 48b1d0b465 update to 2.5.3
from brad
2008-12-27 20:48:00 +00:00

21 lines
461 B
Plaintext

$OpenBSD: patch-pidgin_gtknotify_c,v 1.10 2008/12/27 20:48:00 steven Exp $
--- pidgin/gtknotify.c.orig Sat Dec 20 19:38:16 2008
+++ pidgin/gtknotify.c Sun Dec 21 23:49:44 2008
@@ -1048,7 +1048,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
{