Subject: CVS commit: pkgsrc/devel/gmake
From: Benny Siegert
Date: 2018-07-04 16:09:07
Message id: 20180704140907.5D079FB3E@cvs.NetBSD.org

Log Message:
Patch SV 51159 in GNU Make.

Hopefully this will fix the problems joerg@ and others encountered last
time gmake was updated to 4.2.1. Description of the patch:

[SV 51159] Use a non-blocking read with pselect to avoid hangs.
* posixos.c (set_blocking): Set blocking on a file descriptor.
(jobserver_setup): Set non-blocking on the jobserver read side.
(jobserver_parse_auth): Ditto.
(jobserver_acquire_all): Set blocking to avoid a busy-wait loop.
(jobserver_acquire): If the non-blocking read() returns without
taking a token then try again.

Files:
RevisionActionfile
1.106modifypkgsrc/devel/gmake/Makefile
1.36modifypkgsrc/devel/gmake/distinfo
1.8modifypkgsrc/devel/gmake/patches/patch-makeint.h
1.1addpkgsrc/devel/gmake/patches/patch-posixos.c