summaryrefslogtreecommitdiff
path: root/pkg/openbsd/patch/0024-m4-Add-missing-includes.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-04-10 16:36:09 -0700
committerMichael Forney <mforney@mforney.org>2018-05-10 12:17:02 -0700
commit6e3e79ebdcf003f32bdad32bb2cbe2db69aa9438 (patch)
treec0129b81637eb914b6cc68c7df45eb9edc0f3a9b /pkg/openbsd/patch/0024-m4-Add-missing-includes.patch
parente2522b737e6be889c7c3aa4eeb2523f326218b63 (diff)
openbsd: Build m4
Diffstat (limited to 'pkg/openbsd/patch/0024-m4-Add-missing-includes.patch')
-rw-r--r--pkg/openbsd/patch/0024-m4-Add-missing-includes.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkg/openbsd/patch/0024-m4-Add-missing-includes.patch b/pkg/openbsd/patch/0024-m4-Add-missing-includes.patch
new file mode 100644
index 00000000..de80afe9
--- /dev/null
+++ b/pkg/openbsd/patch/0024-m4-Add-missing-includes.patch
@@ -0,0 +1,37 @@
+From 2213572d0ef5646c205f5d30e67ba7ad1ac0129e Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Tue, 10 Apr 2018 16:24:12 -0700
+Subject: [PATCH] m4: Add missing includes
+
+---
+ usr.bin/m4/look.c | 1 +
+ usr.bin/m4/main.c | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/usr.bin/m4/look.c b/usr.bin/m4/look.c
+index ac504570a9f..5feb0413cd6 100644
+--- a/usr.bin/m4/look.c
++++ b/usr.bin/m4/look.c
+@@ -38,6 +38,7 @@
+ * by: oz
+ */
+
++#include <sys/cdefs.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stdint.h>
+diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
+index f1b8fa5a55b..4e664c0a50b 100644
+--- a/usr.bin/m4/main.c
++++ b/usr.bin/m4/main.c
+@@ -39,6 +39,7 @@
+ * by: oz
+ */
+
++#include <sys/cdefs.h>
+ #include <assert.h>
+ #include <signal.h>
+ #include <err.h>
+--
+2.17.0
+