From f03f06fb7152586e3084ebabe54d93f28da8bf6d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 9 Jan 2024 19:03:28 +0000 Subject: gentoo auto-resync : 09:01:2024 - 19:03:28 --- .../filezilla/files/filezilla-3.66.4-gcc14.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 net-ftp/filezilla/files/filezilla-3.66.4-gcc14.patch (limited to 'net-ftp/filezilla/files') diff --git a/net-ftp/filezilla/files/filezilla-3.66.4-gcc14.patch b/net-ftp/filezilla/files/filezilla-3.66.4-gcc14.patch new file mode 100644 index 000000000000..0c66931d31aa --- /dev/null +++ b/net-ftp/filezilla/files/filezilla-3.66.4-gcc14.patch @@ -0,0 +1,27 @@ +diff --git a/src/putty/unix/uxsftp.c b/src/putty/unix/uxsftp.c +index f078d97..05ec2ff 100644 +--- a/src/putty/unix/uxsftp.c ++++ b/src/putty/unix/uxsftp.c +@@ -211,7 +211,7 @@ int read_from_file(RFile *f, void *buffer, int length) + #if 1 + if (f->state == ok && !f->remaining_) { + fznotify1(sftp_io_nextbuf, 0); +- char const* s = priority_read(); ++ char *s = priority_read(); + if (s[1] == '-') { + f->state = error; + return -1; +@@ -220,11 +220,11 @@ int read_from_file(RFile *f, void *buffer, int length) + f->state = eof; + } + else { +- char const* p = s + 1; ++ char *p = s + 1; + f->buffer_ = f->memory_ + next_int(&p); + f->remaining_ = (int)next_int(&p); + } +- sfree(s); ++ sfree((void *)s); + } + if (f->state == eof) { + return 0; -- cgit v1.2.3