diff options
author | sevan <sevan@pkgsrc.org> | 2018-12-23 23:29:28 +0000 |
---|---|---|
committer | sevan <sevan@pkgsrc.org> | 2018-12-23 23:29:28 +0000 |
commit | 4f2e4db16c5d157ca08f249e231a65b4d3085706 (patch) | |
tree | c10c8c4a3fd04440478aaa4d0667aa0ebecd7971 | |
parent | 60f9c5dd95fec7a3211c96859e5f58e15c58cda7 (diff) | |
download | pkgsrc-4f2e4db16c5d157ca08f249e231a65b4d3085706.tar.gz |
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@
-rw-r--r-- | devel/bmake/files/job.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/bmake/files/job.c b/devel/bmake/files/job.c index fdf9f6b48a1..5b178cf1e9d 100644 --- a/devel/bmake/files/job.c +++ b/devel/bmake/files/job.c @@ -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 @@ Job_CatchOutput(void) 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 */ |