diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-28 11:40:46 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-28 11:40:46 +0000 |
commit | 73c06e01ebc820f47f0140310b8a096e9d20877b (patch) | |
tree | e42588135c33dc1c950c2ac5de5dd32897af342b /net-misc/tinyssh/files | |
parent | 88f366f99d8e731ae1a13d9eca9a5284484d2c6f (diff) |
gentoo auto-resync : 28:02:2024 - 11:40:46
Diffstat (limited to 'net-misc/tinyssh/files')
-rw-r--r-- | net-misc/tinyssh/files/tinyssh-20240101_c99.patch | 33 | ||||
-rw-r--r-- | net-misc/tinyssh/files/tinyssh-20240101_conf_cflags.patch | 10 |
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/tinyssh/files/tinyssh-20240101_c99.patch b/net-misc/tinyssh/files/tinyssh-20240101_c99.patch new file mode 100644 index 000000000000..38b2e845eaa5 --- /dev/null +++ b/net-misc/tinyssh/files/tinyssh-20240101_c99.patch @@ -0,0 +1,33 @@ +From ae059fda00c11236a32499f105e803f962d1e243 Mon Sep 17 00:00:00 2001 +From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me> +Date: Tue, 9 Jan 2024 19:51:14 +0100 +Subject: [PATCH] packet_put: Add missing bug.h include for global_die + +``` +packet_put.c:53:9: error: call to undeclared function 'global_die'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + global_die(111); + ^ +1 error generated. +``` + +Upstream: https://github.com/janmojzis/tinyssh/pull/84 + +--- + tinyssh/packet_put.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tinyssh/packet_put.c b/tinyssh/packet_put.c +index 17e8d84..7f46ff6 100644 +--- a/tinyssh/packet_put.c ++++ b/tinyssh/packet_put.c +@@ -6,6 +6,7 @@ Public domain. + + #include "uint32_pack_big.h" + #include "buf.h" ++#include "bug.h" + #include "sshcrypto.h" + #include "ssh.h" + #include "log.h" +-- +2.41.0 + diff --git a/net-misc/tinyssh/files/tinyssh-20240101_conf_cflags.patch b/net-misc/tinyssh/files/tinyssh-20240101_conf_cflags.patch new file mode 100644 index 000000000000..8dd35d91b828 --- /dev/null +++ b/net-misc/tinyssh/files/tinyssh-20240101_conf_cflags.patch @@ -0,0 +1,10 @@ +diff --git a/conf-cflags b/conf-cflags +--- a/conf-cflags ++++ b/conf-cflags +@@ -15,6 +15,3 @@ + -fstack-protector-strong + -fwrapv + -fno-strict-overflow +--Os +--fomit-frame-pointer +--funroll-loops |