$OpenBSD: patch-pidgin_gtknotify_c,v 1.8 2008/06/05 10:24:15 ajacoutot Exp $
--- pidgin/gtknotify.c.orig	Sat May 10 11:37:35 2008
+++ pidgin/gtknotify.c	Mon May 19 00:40:56 2008
@@ -1049,7 +1049,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
 	{
