openssh: fix incompatible ptr type error GCC 14.1
authorSean Khan <datapronix@protonmail.com>
Fri, 5 Jul 2024 11:42:45 +0000 (07:42 -0400)
committerRosen Penev <rosenp@gmail.com>
Fri, 5 Jul 2024 20:41:33 +0000 (13:41 -0700)
commitc7f099a19cc892828a1f2de6036418cfee017cfb
tree66964412da55bac8cb231496790700d79d62570f
parent24248b6f7c248a3be6d90e12e6e24ac38401118b
openssh: fix incompatible ptr type error GCC 14.1

The `ssh_systemd_notify` function is causing compilation errors
when built against GCC 14.1. This is due to an incompatible pointer
type being passed to the connect function.

The connect function expects a pointer to `struct sockaddr`, but
was receiving a pointer to `struct sockaddr_un`.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
net/openssh/Makefile
net/openssh/patches/100-fix-incompatible-ptr-GCC-14.1.patch [new file with mode: 0644]