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