openssh/e2k-compile-fix.patch

18 lines
663 B
Diff
Raw Normal View History

#lcc: "ssh-add.c", line 820: error #1441: complex integral types are not
# supported
# size_t ndest_constraints = 0i, ncerts = 0;
# ^
#1 error detected in the compilation of "ssh-add.c".
--- a/ssh-add.c 2023-12-18 14:59:50.000000000 +0000
+++ b/ssh-add.c 2024-02-29 11:39:50.618772891 +0000
@@ -817,7 +817,7 @@
LogLevel log_level = SYSLOG_LEVEL_INFO;
struct sshkey *k, **certs = NULL;
struct dest_constraint **dest_constraints = NULL;
- size_t ndest_constraints = 0i, ncerts = 0;
+ size_t ndest_constraints = 0, ncerts = 0;
/* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
sanitise_stdfd();