commit: 2d61d6b38b78c075970c91a1a8468edc6394ecee Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Mon Nov 11 22:52:08 2024 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Mon Nov 11 22:52:08 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d61d6b3
www-client/elinks: Update 0.17.1.1-sftp patch to fix building with GCC 14 Closes: https://bugs.gentoo.org/942293 Closes: https://bugs.gentoo.org/942437 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> www-client/elinks/files/elinks-0.17.1.1-sftp.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/www-client/elinks/files/elinks-0.17.1.1-sftp.patch b/www-client/elinks/files/elinks-0.17.1.1-sftp.patch index f8f1d5092bff..f756cf5e2d5d 100644 --- a/www-client/elinks/files/elinks-0.17.1.1-sftp.patch +++ b/www-client/elinks/files/elinks-0.17.1.1-sftp.patch @@ -143,6 +143,20 @@ a198d2da3cf958d7c1de3bc02a2ea49c25a3f785 + } +#endif +} +--- a/src/protocol/curl/http.h ++++ b/src/protocol/curl/http.h +@@ -19,6 +19,10 @@ extern protocol_handler_T http_curl_prot + + void http_curl_handle_error(struct connection *conn, CURLcode res); + ++#ifdef CONFIG_FTP ++void ftp_curl_handle_error(struct connection *conn, CURLcode res); ++#endif ++ + #endif + + #ifdef __cplusplus + --- a/src/protocol/curl/sftp.h +++ b/src/protocol/curl/sftp.h @@ -10,7 +10,7 @@
