openbsd-ports/net/pidgin/patches/patch-pidgin_gtknotify_c
merdely e692aa37ef Update to pidgin-2.2.1
From brad@
"just commit it" steven@
2007-10-01 22:03:29 +00:00

21 lines
461 B
Plaintext

$OpenBSD: patch-pidgin_gtknotify_c,v 1.5 2007/10/01 22:03:30 merdely Exp $
--- pidgin/gtknotify.c.orig Sat Sep 29 12:39:14 2007
+++ pidgin/gtknotify.c Sat Sep 29 20:18:28 2007
@@ -1010,7 +1010,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
{