summaryrefslogtreecommitdiff
path: root/pkg/openbsd/patch/0023-libutil-Add-missing-includes.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-11-07 13:58:29 -0800
committerMichael Forney <mforney@mforney.org>2018-11-07 14:04:38 -0800
commit80770716279ced2795dbdec6b92cc1a06be2ab61 (patch)
treebff34f37cd7bdbc1246d34b22c2dfe94b55d25bd /pkg/openbsd/patch/0023-libutil-Add-missing-includes.patch
parent5a0f00b6c147fa44a4c2f2598a14154d8a5c155e (diff)
Build nc from libressl
This way we don't have to maintain the nc linux port patch ourselves. It also avoids a circular dependency between the libressl and openbsd packages.
Diffstat (limited to 'pkg/openbsd/patch/0023-libutil-Add-missing-includes.patch')
-rw-r--r--pkg/openbsd/patch/0023-libutil-Add-missing-includes.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/openbsd/patch/0023-libutil-Add-missing-includes.patch b/pkg/openbsd/patch/0023-libutil-Add-missing-includes.patch
new file mode 100644
index 00000000..c441c199
--- /dev/null
+++ b/pkg/openbsd/patch/0023-libutil-Add-missing-includes.patch
@@ -0,0 +1,24 @@
+From 72cfeec702c7b76cce88be4c411ce40a8abb628c Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Tue, 10 Apr 2018 16:23:22 -0700
+Subject: [PATCH] libutil: Add missing includes
+
+---
+ lib/libutil/ohash.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/libutil/ohash.c b/lib/libutil/ohash.c
+index 74ca4fafd9c..9537c60eac4 100644
+--- a/lib/libutil/ohash.c
++++ b/lib/libutil/ohash.c
+@@ -15,6 +15,7 @@
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#include <sys/cdefs.h>
+ #include <stddef.h>
+ #include <stdint.h>
+ #include <stdlib.h>
+--
+2.17.0
+