openbsd-ports/net/gaim/patches/patch-src_gtknotify_c
fgsch 93c58c0530 this horrible hack fixes the 2-open-links problem when clicking in a url.
gaim should really fix this.  maintainer and jolan@ ok.
2006-06-27 17:32:26 +00:00

21 lines
441 B
Plaintext

$OpenBSD: patch-src_gtknotify_c,v 1.1 2006/06/27 17:32:26 fgsch Exp $
--- src/gtknotify.c.orig Thu Jun 15 17:21:28 2006
+++ src/gtknotify.c Thu Jun 15 18:12:17 2006
@@ -446,7 +446,16 @@ uri_command(const char *command, gboolea
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
{