pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/bmake/files
Module Name: pkgsrc
Committed By: js
Date: Tue Aug 25 21:43:33 UTC 2020
Modified Files:
pkgsrc/devel/bmake/files: meta.c util.c
Log Message:
devel/bmake: Fix compiling on QNX 6.5
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/bmake/files/meta.c
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/bmake/files/util.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/bmake/files/meta.c
diff -u pkgsrc/devel/bmake/files/meta.c:1.5 pkgsrc/devel/bmake/files/meta.c:1.6
--- pkgsrc/devel/bmake/files/meta.c:1.5 Sun May 24 21:10:17 2020
+++ pkgsrc/devel/bmake/files/meta.c Tue Aug 25 21:43:33 2020
@@ -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 @@ char * dirname(char *);
#include <err.h>
#endif
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
#include "make.h"
#include "job.h"
Index: pkgsrc/devel/bmake/files/util.c
diff -u pkgsrc/devel/bmake/files/util.c:1.16 pkgsrc/devel/bmake/files/util.c:1.17
--- pkgsrc/devel/bmake/files/util.c:1.16 Sun May 24 21:10:17 2020
+++ pkgsrc/devel/bmake/files/util.c Tue Aug 25 21:43:33 2020
@@ -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 @@ __RCSID("$NetBSD: util.c,v 1.16 2020/05/
#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