$OpenBSD: patch-pidgin_gtknotify_c,v 1.6 2007/11/28 08:48:32 steven Exp $
--- pidgin/gtknotify.c.orig	Sat Nov 24 14:06:02 2007
+++ pidgin/gtknotify.c	Mon Nov 26 16:06:34 2007
@@ -1014,7 +1014,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
 	{
