pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/bmake/files On Minix3 the call to read returns E...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc1c5aa26d0b
branches:  trunk
changeset: 389257:dc1c5aa26d0b
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sun Dec 23 23:29:28 2018 +0000

description:
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@

diffstat:

 devel/bmake/files/job.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r f56db380d0a8 -r dc1c5aa26d0b devel/bmake/files/job.c
--- a/devel/bmake/files/job.c   Sun Dec 23 23:05:41 2018 +0000
+++ b/devel/bmake/files/job.c   Sun Dec 23 23:29:28 2018 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index