summaryrefslogtreecommitdiff
path: root/pkg/openssh/patch/0001-Include-stdio.h-for-vsnprintf.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-06-19 19:33:01 -0700
committerMichael Forney <mforney@mforney.org>2019-06-19 22:27:00 -0700
commita7f7ca5a1a424c5ef287dfe4e79c9d62f33defba (patch)
tree42b6811c3c9e619f60b00768b530001f012034ab /pkg/openssh/patch/0001-Include-stdio.h-for-vsnprintf.patch
parent1995df90e37b0f9498365d143210e84c178b54a2 (diff)
openssh: Fix a few portability issues
Diffstat (limited to 'pkg/openssh/patch/0001-Include-stdio.h-for-vsnprintf.patch')
-rw-r--r--pkg/openssh/patch/0001-Include-stdio.h-for-vsnprintf.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/openssh/patch/0001-Include-stdio.h-for-vsnprintf.patch b/pkg/openssh/patch/0001-Include-stdio.h-for-vsnprintf.patch
new file mode 100644
index 00000000..6e383718
--- /dev/null
+++ b/pkg/openssh/patch/0001-Include-stdio.h-for-vsnprintf.patch
@@ -0,0 +1,25 @@
+From 0584947cce192034cbbaea92db1a628a5496a51a Mon Sep 17 00:00:00 2001
+From: Darren Tucker <dtucker@dtucker.net>
+Date: Sun, 16 Jun 2019 12:55:27 +1000
+Subject: [PATCH] Include stdio.h for vsnprintf.
+
+Patch from mforney at mforney.org.
+---
+ openbsd-compat/setproctitle.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/openbsd-compat/setproctitle.c b/openbsd-compat/setproctitle.c
+index dbd1a95a..e4064323 100644
+--- a/openbsd-compat/setproctitle.c
++++ b/openbsd-compat/setproctitle.c
+@@ -36,6 +36,7 @@
+ #ifndef HAVE_SETPROCTITLE
+
+ #include <stdarg.h>
++#include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #ifdef HAVE_SYS_PSTAT_H
+--
+2.20.1
+