$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
 	{
