aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh-portable
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-03-30 13:18:23 +0800
committerdinoex <dinoex@FreeBSD.org>2002-03-30 13:18:23 +0800
commit4967c52bc10558e2b6c02bce74c7598cb3e4d5fa (patch)
treeb7b463d84d2d09d2c75447f4abf84f1c5bb993cf /security/openssh-portable
parent365ac5b74f39ee2ca3d4add0c1faad03aefd1c9d (diff)
downloadfreebsd-ports-graphics-4967c52bc10558e2b6c02bce74c7598cb3e4d5fa.tar.gz
freebsd-ports-graphics-4967c52bc10558e2b6c02bce74c7598cb3e4d5fa.tar.zst
freebsd-ports-graphics-4967c52bc10558e2b6c02bce74c7598cb3e4d5fa.zip
- Fix build for 5.0-CURRENT
Diffstat (limited to 'security/openssh-portable')
-rw-r--r--security/openssh-portable/files/patch-readpassphrase.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/security/openssh-portable/files/patch-readpassphrase.c b/security/openssh-portable/files/patch-readpassphrase.c
new file mode 100644
index 00000000000..28bae487791
--- /dev/null
+++ b/security/openssh-portable/files/patch-readpassphrase.c
@@ -0,0 +1,25 @@
+--- openbsd-compat/readpassphrase.c.orig Sat Mar 30 06:08:34 2002
++++ openbsd-compat/readpassphrase.c Sat Mar 30 06:09:33 2002
+@@ -165,6 +165,13 @@
+ errno = save_errno;
+ return(nr == -1 ? NULL : buf);
+ }
++
++static void handler(int s)
++{
++
++ signo = s;
++}
++
+ #endif /* HAVE_READPASSPHRASE */
+
+ #if 0
+@@ -177,8 +184,3 @@
+ }
+ #endif
+
+-static void handler(int s)
+-{
+-
+- signo = s;
+-}