summaryrefslogtreecommitdiff
path: root/pkg/openssh/patch/0001-Include-stdio.h-for-vsnprintf.patch
diff options
context:
space:
mode:
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
+