Sun Dec 23 23:29:28 2018 UTC ()
On Minix3 the call to read returns EAGAIN (-1) and causes the build to break.
Skip punting on Minix3 as workaround for now, change via sjg@


(sevan)
diff -r1.17 -r1.18 pkgsrc/devel/bmake/files/job.c

cvs diff -r1.17 -r1.18 pkgsrc/devel/bmake/files/job.c (expand / switch to context diff)
--- pkgsrc/devel/bmake/files/job.c 2018/09/10 10:16:58 1.17
+++ pkgsrc/devel/bmake/files/job.c 2018/12/23 23:29:28 1.18
@@ -1,4 +1,4 @@
-/*	$NetBSD: job.c,v 1.17 2018/09/10 10:16:58 schmonz Exp $	*/
+/*	$NetBSD: job.c,v 1.18 2018/12/23 23:29:28 sevan Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -70,14 +70,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: job.c,v 1.17 2018/09/10 10:16:58 schmonz Exp $";
+static char rcsid[] = "$NetBSD: job.c,v 1.18 2018/12/23 23:29:28 sevan Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)job.c	8.2 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: job.c,v 1.17 2018/09/10 10:16:58 schmonz Exp $");
+__RCSID("$NetBSD: job.c,v 1.18 2018/12/23 23:29:28 sevan Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -2084,7 +2084,10 @@
 	case 0:
 	    Punt("unexpected eof on token pipe");
 	case -1:
+#ifndef __minix
 	    Punt("token pipe read: %s", strerror(errno));
+#endif
+	    break;
 	case 1:
 	    if (token == DO_JOB_RESUME[0])
 		/* Complete relay requested from our SIGCONT handler */