openbsd-ports/net/pidgin/patches/patch-pidgin_gtkmain_c
brad 8bd6e8e1ac Update to Pidgin 2.5.0.
"no worse than before" ckuethe@
2008-08-21 05:59:01 +00:00

21 lines
573 B
Plaintext

$OpenBSD: patch-pidgin_gtkmain_c,v 1.8 2008/08/21 05:59:01 brad Exp $
--- pidgin/gtkmain.c.orig Mon Aug 18 21:53:52 2008
+++ pidgin/gtkmain.c Wed Aug 20 00:48:35 2008
@@ -89,6 +89,7 @@ static SnDisplay *sn_display = NULL;
#endif
#ifdef HAVE_SIGNAL_H
+int real_status;
/*
* Lists of signals we wish to catch and those we wish to ignore.
@@ -159,6 +160,8 @@ clean_pid(void)
do {
pid = waitpid(-1, &status, WNOHANG);
} while (pid != 0 && pid != (pid_t)-1);
+
+ real_status = status;
if ((pid == (pid_t) - 1) && (errno != ECHILD)) {
char errmsg[BUFSIZ];