diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-03-30 13:18:23 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-03-30 13:18:23 +0800 |
commit | 4967c52bc10558e2b6c02bce74c7598cb3e4d5fa (patch) | |
tree | b7b463d84d2d09d2c75447f4abf84f1c5bb993cf /security | |
parent | 365ac5b74f39ee2ca3d4add0c1faad03aefd1c9d (diff) | |
download | freebsd-ports-gnome-4967c52bc10558e2b6c02bce74c7598cb3e4d5fa.tar.gz freebsd-ports-gnome-4967c52bc10558e2b6c02bce74c7598cb3e4d5fa.tar.zst freebsd-ports-gnome-4967c52bc10558e2b6c02bce74c7598cb3e4d5fa.zip |
- Fix build for 5.0-CURRENT
Diffstat (limited to 'security')
-rw-r--r-- | security/hpn-ssh/files/patch-readpassphrase.c | 25 | ||||
-rw-r--r-- | security/openssh-portable/files/patch-readpassphrase.c | 25 |
2 files changed, 50 insertions, 0 deletions
diff --git a/security/hpn-ssh/files/patch-readpassphrase.c b/security/hpn-ssh/files/patch-readpassphrase.c new file mode 100644 index 000000000000..28bae4877919 --- /dev/null +++ b/security/hpn-ssh/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; +-} diff --git a/security/openssh-portable/files/patch-readpassphrase.c b/security/openssh-portable/files/patch-readpassphrase.c new file mode 100644 index 000000000000..28bae4877919 --- /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; +-} |