From a54acbca97aac9c83495b2221eda9ae5ae3b191b Mon Sep 17 00:00:00 2001 From: aeiouaeiouaeiouaeiouaeiouaeiou Date: Thu, 11 Jun 2026 19:48:34 +0300 Subject: [PATCH] putty: update to 0.84 Co-authored-by: Sergey Fedorov --- security/putty/Portfile | 11 ++++++----- security/putty/files/patch-MSG_NOSIGNAL.diff | 13 +++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 security/putty/files/patch-MSG_NOSIGNAL.diff diff --git a/security/putty/Portfile b/security/putty/Portfile index a40e0ae4496..b01c7b24e7c 100644 --- a/security/putty/Portfile +++ b/security/putty/Portfile @@ -5,7 +5,7 @@ PortGroup active_variants 1.1 PortGroup cmake 1.1 name putty -version 0.83 +version 0.84 categories security net conflicts pssh-lilydjwg maintainers nomaintainer @@ -20,11 +20,12 @@ homepage https://www.chiark.greenend.org.uk/~sgtatham/putty/ master_sites ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-${version}/ \ https://the.earth.li/~sgtatham/putty/${version}/ -checksums rmd160 4bf188317ec858c5c9a69989527a5d3056b96dcb \ - sha256 718777c13d63d0dff91fe03162bc2a05b4dfc8b0827634cd60b51cefdff631c6 \ - size 3007178 +checksums rmd160 c87c6d0af904752c4d86cc1834d22744087edced \ + sha256 06057862ae198f1dbd219d0c7493080d59f606194bb5056c549e342aa01b69fe \ + size 3005843 -patchfiles-append patch-STDC_FORMAT_MACROS.diff +patchfiles-append patch-MSG_NOSIGNAL.diff \ + patch-STDC_FORMAT_MACROS.diff # ecc-ssh.c: error: unknown field ‘ecdh_vt’ specified in initializer compiler.blacklist-append \ diff --git a/security/putty/files/patch-MSG_NOSIGNAL.diff b/security/putty/files/patch-MSG_NOSIGNAL.diff new file mode 100644 index 00000000000..f5cb4d12938 --- /dev/null +++ b/security/putty/files/patch-MSG_NOSIGNAL.diff @@ -0,0 +1,13 @@ +--- unix/network.c 2026-05-15 03:28:46.000000000 +0800 ++++ unix/network.c 2026-05-29 17:41:44.000000000 +0800 +@@ -32,6 +32,10 @@ + # define X11_UNIX_PATH "/tmp/.X11-unix/X" + #endif + ++#ifndef MSG_NOSIGNAL ++# define MSG_NOSIGNAL 0 ++#endif ++ + /* + * Access to sockaddr types without breaking C strict aliasing rules. + */