diff options
author | Yixun Lan <dlan@gentoo.org> | 2023-02-16 17:17:13 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2023-02-16 17:22:33 +0800 |
commit | 45fb8f807e5908e2bbc73d3d038bd77c825256ea (patch) | |
tree | bc7064726f586bfce9015191dc8b17937c717bff /dev-libs/libfilezilla | |
parent | games-simulation/EmptyEpsilon: drop 2021.06.23-r1 (diff) | |
download | gentoo-45fb8f807e5908e2bbc73d3d038bd77c825256ea.tar.gz gentoo-45fb8f807e5908e2bbc73d3d038bd77c825256ea.tar.bz2 gentoo-45fb8f807e5908e2bbc73d3d038bd77c825256ea.zip |
dev-libs/libfilezilla: fix build failure with gcc-13
patch only apply to version 0.41.0
Upstream: https://trac.filezilla-project.org/ticket/12868
Closes: https://bugs.gentoo.org/893982
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-libs/libfilezilla')
-rw-r--r-- | dev-libs/libfilezilla/files/libfilezilla-0.41.0-gcc13.patch | 79 | ||||
-rw-r--r-- | dev-libs/libfilezilla/libfilezilla-0.41.0.ebuild | 5 |
2 files changed, 83 insertions, 1 deletions
diff --git a/dev-libs/libfilezilla/files/libfilezilla-0.41.0-gcc13.patch b/dev-libs/libfilezilla/files/libfilezilla-0.41.0-gcc13.patch new file mode 100644 index 000000000000..19423a7e732e --- /dev/null +++ b/dev-libs/libfilezilla/files/libfilezilla-0.41.0-gcc13.patch @@ -0,0 +1,79 @@ +--- a/lib/libfilezilla/buffer.hpp 2022-02-03 09:53:39.000000000 +0000 ++++ b/lib/libfilezilla/buffer.hpp 2023-02-12 19:18:24.678399429 +0000 +@@ -2,6 +2,7 @@ + #define LIBFILEZILLA_BUFFER_HEADER + + #include "libfilezilla.hpp" ++#include <cstdint> + + #include <vector> + #include <type_traits> +--- a/lib/libfilezilla/hash.hpp 2022-02-03 09:53:39.000000000 +0000 ++++ b/lib/libfilezilla/hash.hpp 2023-02-12 19:22:58.938975128 +0000 +@@ -1,3 +1,4 @@ ++#include <cstdint> + #ifndef LIBFILEZILLA_HASH_HEADER + #define LIBFILEZILLA_HASH_HEADER + +--- a/lib/libfilezilla/encryption.hpp 2020-08-21 14:35:14.000000000 +0100 ++++ b/lib/libfilezilla/encryption.hpp 2023-02-12 19:26:03.514379399 +0000 +@@ -11,7 +11,7 @@ + */ + + #include "libfilezilla.hpp" +- ++#include <cstdint> + #include <vector> + #include <string> + +--- a/lib/libfilezilla/encode.hpp 2021-12-08 15:09:45.000000000 +0000 ++++ b/lib/libfilezilla/encode.hpp 2023-02-12 19:28:38.684399363 +0000 +@@ -2,7 +2,7 @@ + #define LIBFILEZILLA_ENCODE_HEADER + + #include "libfilezilla.hpp" +- ++#include <cstdint> + #include <string> + #include <vector> + +--- a/lib/libfilezilla/nonowning_buffer.hpp 2022-07-08 14:18:44.000000000 +0100 ++++ b/lib/libfilezilla/nonowning_buffer.hpp 2023-02-12 19:31:09.324359290 +0000 +@@ -2,6 +2,7 @@ + #define LIBFILEZILLA_NONOWNING_BUFFER_HEADER + + #include "libfilezilla.hpp" ++#include <cstdint> + + /** \file + * \brief Declares fz::nonowning_buffer +--- a/lib/libfilezilla/signature.hpp 2020-07-07 13:06:31.000000000 +0100 ++++ b/lib/libfilezilla/signature.hpp 2023-02-12 19:34:00.747588389 +0000 +@@ -8,6 +8,7 @@ + */ + + #include "libfilezilla.hpp" ++#include <cstdint> + + #include <vector> + #include <string> +--- a/lib/libfilezilla/json.hpp 2022-09-05 14:52:21.000000000 +0100 ++++ b/lib/libfilezilla/json.hpp 2023-02-12 19:36:07.564236643 +0000 +@@ -9,6 +9,7 @@ + #include <map> + #include <type_traits> + #include <variant> ++#include <cstdint> + + namespace fz { + +--- a/lib/libfilezilla/string.hpp 2023-01-12 09:41:17.000000000 +0000 ++++ b/lib/libfilezilla/string.hpp 2023-02-12 20:14:26.622449014 +0000 +@@ -2,6 +2,7 @@ + #define LIBFILEZILLA_STRING_HEADER + + #include "libfilezilla.hpp" ++#include <cstdint> + + #include <algorithm> + #include <string> diff --git a/dev-libs/libfilezilla/libfilezilla-0.41.0.ebuild b/dev-libs/libfilezilla/libfilezilla-0.41.0.ebuild index 58bc413a0ed5..f6ab16d883db 100644 --- a/dev-libs/libfilezilla/libfilezilla-0.41.0.ebuild +++ b/dev-libs/libfilezilla/libfilezilla-0.41.0.ebuild @@ -23,7 +23,10 @@ RDEPEND=" DEPEND="${RDEPEND} test? ( dev-util/cppunit )" -PATCHES=( "${FILESDIR}"/${PN}-0.37.1-pthread.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-0.37.1-pthread.patch + "${FILESDIR}"/${PN}-0.41.0-gcc13.patch +) pkg_pretend() { if [[ ${MERGE_TYPE} != binary ]]; then |