mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/openssh: switch to upstream variant of patch
Bug: https://bugs.gentoo.org/935353 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
# Pulled patch from Voidlinux
|
||||
# Bug: https://bugs.gentoo.org/935353
|
||||
https://bugzilla.mindrot.org/show_bug.cgi?id=3707
|
||||
https://bugs.gentoo.org/935353
|
||||
--- a/openbsd-compat/port-linux.c
|
||||
+++ b/openbsd-compat/port-linux.c
|
||||
@@ -366,7 +366,7 @@
|
||||
@@ -366,7 +366,7 @@ ssh_systemd_notify(const char *fmt, ...)
|
||||
error_f("socket \"%s\": %s", path, strerror(errno));
|
||||
goto out;
|
||||
}
|
||||
- if (connect(fd, &addr, sizeof(addr)) != 0) {
|
||||
+ if (connect(fd, (const struct sockaddr *)&addr, sizeof(addr)) != 0) {
|
||||
+ if (connect(fd, (struct sockaddr *)&addr, sizeof(addr)) != 0) {
|
||||
error_f("socket \"%s\" connect: %s", path, strerror(errno));
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user