openbsd-ports/net/pidgin/patches/patch-pidgin_gtknotify_c
steven 5aa610b4df update to 2.7.1
from Brad (maintainer)
2010-06-10 20:13:33 +00:00

21 lines
461 B
Plaintext

$OpenBSD: patch-pidgin_gtknotify_c,v 1.12 2010/06/10 20:13:33 steven Exp $
--- pidgin/gtknotify.c.orig Sat May 29 21:24:00 2010
+++ pidgin/gtknotify.c Fri Jun 4 21:42:39 2010
@@ -1230,7 +1230,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
{