Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/bmake/files devel/bmake: Fix compiling on QNX 6.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5fe6859a662
branches:  trunk
changeset: 437539:e5fe6859a662
user:      js <js%pkgsrc.org@localhost>
date:      Tue Aug 25 21:43:33 2020 +0000

description:
devel/bmake: Fix compiling on QNX 6.5

diffstat:

 devel/bmake/files/meta.c |   6 +++++-
 devel/bmake/files/util.c |  12 ++++++++----
 2 files changed, 13 insertions(+), 5 deletions(-)

diffs (59 lines):

diff -r c3915593d9d7 -r e5fe6859a662 devel/bmake/files/meta.c
--- a/devel/bmake/files/meta.c  Tue Aug 25 20:55:10 2020 +0000
+++ b/devel/bmake/files/meta.c  Tue Aug 25 21:43:33 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.5 2020/05/24 21:10:17 nia Exp $ */
+/*      $NetBSD: meta.c,v 1.6 2020/08/25 21:43:33 js Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -46,6 +46,10 @@
 #include <err.h>
 #endif
 
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
 #include "make.h"
 #include "job.h"
 
diff -r c3915593d9d7 -r e5fe6859a662 devel/bmake/files/util.c
--- a/devel/bmake/files/util.c  Tue Aug 25 20:55:10 2020 +0000
+++ b/devel/bmake/files/util.c  Tue Aug 25 21:43:33 2020 +0000
@@ -1,9 +1,9 @@
-/*     $NetBSD: util.c,v 1.16 2020/05/24 21:10:17 nia Exp $    */
+/*     $NetBSD: util.c,v 1.17 2020/08/25 21:43:33 js Exp $     */
 
 /*
  * Missing stuff from OS's
  *
- *     $Id: util.c,v 1.16 2020/05/24 21:10:17 nia Exp $
+ *     $Id: util.c,v 1.17 2020/08/25 21:43:33 js Exp $
  */
 #if defined(__MINT__) || defined(__linux__)
 #include <signal.h>
@@ -12,10 +12,10 @@
 #include "make.h"
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: util.c,v 1.16 2020/05/24 21:10:17 nia Exp $";
+static char rcsid[] = "$NetBSD: util.c,v 1.17 2020/08/25 21:43:33 js Exp $";
 #else
 #ifndef lint
-__RCSID("$NetBSD: util.c,v 1.16 2020/05/24 21:10:17 nia Exp $");
+__RCSID("$NetBSD: util.c,v 1.17 2020/08/25 21:43:33 js Exp $");
 #endif
 #endif
 
@@ -23,6 +23,10 @@
 #include <time.h>
 #include <signal.h>
 
+#ifndef SA_RESTART
+#define SA_RESTART 0
+#endif
+
 #if !defined(HAVE_STRERROR)
 extern int errno, sys_nerr;
 extern char *sys_errlist[];



Home | Main Index | Thread Index | Old Index