Ok, so here is a correct patch.
The problem is that makeint.h considers that __arm is not really
POSIX.1 compliant. I think it was meant to only apply to SVR3 ?
But any variant that fixes the condition on OpenBSD is ok.
I've left the patch for the missing semi-column in place, although
this code should never be used.
Index: patches/patch-job_c
===================================================================
RCS file: /cvs/OpenBSD/ports/devel/gmake/patches/patch-job_c,v
retrieving revision 1.2
diff -u -p -u -r1.2 patch-job_c
--- patches/patch-job_c 13 Sep 2019 16:59:34 -0000 1.2
+++ patches/patch-job_c 1 Nov 2019 08:12:04 -0000
@@ -46,7 +46,7 @@ Index: job.c
+static void
+unblock_sigs ()
+{
-+ sigsetmask (siggetmask (0) & ~fatal_signal_mask)
++ sigsetmask (siggetmask (0) & ~fatal_signal_mask);
+}
+
+void
Index: patches/patch-makeint_h
===================================================================
RCS file: patches/patch-makeint_h
diff -N patches/patch-makeint_h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-makeint_h 1 Nov 2019 08:12:04 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+__arm may not have been POSIX.1 in SVR3, but certainly is on OpenBSD
+
+Index: makeint.h
+--- makeint.h.orig
++++ makeint.h
+@@ -114,7 +114,7 @@ extern int errno;
+
No comments:
Post a Comment