summaryrefslogtreecommitdiff
path: root/security/ssh2/patches/patch-ao
diff options
context:
space:
mode:
authorkivinen <kivinen@pkgsrc.org>2005-08-24 09:13:24 +0000
committerkivinen <kivinen@pkgsrc.org>2005-08-24 09:13:24 +0000
commitbe30f7a7f233a076fe61081c84a5314809cf45b7 (patch)
tree898273a710555cd3c21cf63f56178c10cbda750e /security/ssh2/patches/patch-ao
parente772a967651e71ae491abe733754f7edf620c026 (diff)
downloadpkgsrc-be30f7a7f233a076fe61081c84a5314809cf45b7.tar.gz
Fixed ssh_encode_* calls to have casts to SshUInt32 or size_t
to get it working properly on the 64-bit platform (amd64).
Diffstat (limited to 'security/ssh2/patches/patch-ao')
-rw-r--r--security/ssh2/patches/patch-ao17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/ssh2/patches/patch-ao b/security/ssh2/patches/patch-ao
new file mode 100644
index 00000000000..cf5c2729401
--- /dev/null
+++ b/security/ssh2/patches/patch-ao
@@ -0,0 +1,17 @@
+$NetBSD: patch-ao,v 1.1 2005/08/24 09:13:24 kivinen Exp $
+
+--- apps/ssh/sshchsession.c.orig 2003-12-03 15:17:23.000000000 +0200
++++ apps/ssh/sshchsession.c
+@@ -2315,9 +2315,9 @@ void ssh_channel_session_eof_callback(vo
+ {
+ ssh_encode_buffer(&buffer,
+ SSH_FORMAT_UINT32, (SshUInt32) -exit_status,
+- SSH_FORMAT_BOOLEAN, FALSE,
+- SSH_FORMAT_UINT32_STR, NULL, 0,
+- SSH_FORMAT_UINT32_STR, NULL, 0,
++ SSH_FORMAT_BOOLEAN, (Boolean) FALSE,
++ SSH_FORMAT_UINT32_STR, NULL, (size_t) 0,
++ SSH_FORMAT_UINT32_STR, NULL, (size_t) 0,
+ SSH_FORMAT_END);
+
+