$OpenBSD: patch-pidgin_gtknotify_c,v 1.4 2007/08/11 22:15:46 ckuethe Exp $
--- pidgin/gtknotify.c.orig	Fri May 25 12:28:22 2007
+++ pidgin/gtknotify.c	Mon May 28 01:57:23 2007
@@ -967,7 +967,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
 	{
