openbsd-ports/devel/gmake/patches/patch-misc_c
naddy 8aa7922499 Update gmake to 3.82, including two important upstream fixes.
This version has some backward incompatibilities.  All affected
ports in the tree have been fixed in advance.
2011-04-20 20:51:41 +00:00

17 lines
501 B
Plaintext

$OpenBSD: patch-misc_c,v 1.2 2011/04/20 20:51:41 naddy Exp $
XXX THIS IS A HACK
Make this error non-fatal by not exiting. This is needed to workaround
the effects of userland threads which change i/o operations to
non-blocking.
--- misc.c.orig Mon Jul 19 09:10:54 2010
+++ misc.c Sat Oct 23 15:30:51 2010
@@ -954,6 +954,5 @@ close_stdout (void)
error (NILF, _("write error: %s"), strerror (errno));
else
error (NILF, _("write error"));
- exit (EXIT_FAILURE);
}
}