summaryrefslogtreecommitdiff
path: root/pkg/openssh/patch/0001-Include-stdlib.h-for-arc4random_uniform.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-10-18 00:44:32 -0700
committerMichael Forney <mforney@mforney.org>2019-10-18 00:44:32 -0700
commit91d3dd6504b51cd18f4b6a61eec00388c33b70af (patch)
tree61510aad98715722506773bc8112c33090dc9427 /pkg/openssh/patch/0001-Include-stdlib.h-for-arc4random_uniform.patch
parentf7af542972d1d55f3973d1f1b888b7eed3b07f51 (diff)
openssh: Update to 8.1p1
Diffstat (limited to 'pkg/openssh/patch/0001-Include-stdlib.h-for-arc4random_uniform.patch')
-rw-r--r--pkg/openssh/patch/0001-Include-stdlib.h-for-arc4random_uniform.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/openssh/patch/0001-Include-stdlib.h-for-arc4random_uniform.patch b/pkg/openssh/patch/0001-Include-stdlib.h-for-arc4random_uniform.patch
new file mode 100644
index 00000000..e1a076f6
--- /dev/null
+++ b/pkg/openssh/patch/0001-Include-stdlib.h-for-arc4random_uniform.patch
@@ -0,0 +1,24 @@
+From 8e035c27bf466534db0b9233cb038973b1f9ffc5 Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Wed, 19 Jun 2019 20:06:29 -0700
+Subject: [PATCH] Include stdlib.h for arc4random_uniform
+
+---
+ openbsd-compat/bindresvport.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c
+index eeb269d5..346c7fe5 100644
+--- a/openbsd-compat/bindresvport.c
++++ b/openbsd-compat/bindresvport.c
+@@ -40,6 +40,7 @@
+ #include <arpa/inet.h>
+
+ #include <errno.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ #define STARTPORT 600
+--
+2.20.1
+