From 07677fc22445c8e3c18352c0a7166ff20321fcca Mon Sep 17 00:00:00 2001 From: WANG Xuerui Date: Fri, 12 Aug 2022 10:33:37 +0800 Subject: dev-libs/liborcus: fix build on gcc-13 Closes: https://bugs.gentoo.org/865213 Signed-off-by: WANG Xuerui --- .../liborcus/files/liborcus-0.17.2-gcc-13.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 dev-libs/liborcus/files/liborcus-0.17.2-gcc-13.patch (limited to 'dev-libs/liborcus/files') diff --git a/dev-libs/liborcus/files/liborcus-0.17.2-gcc-13.patch b/dev-libs/liborcus/files/liborcus-0.17.2-gcc-13.patch new file mode 100644 index 000000000000..fa4892053b10 --- /dev/null +++ b/dev-libs/liborcus/files/liborcus-0.17.2-gcc-13.patch @@ -0,0 +1,29 @@ +https://gitlab.com/orcus/orcus/-/commit/fa68d6a76778df26e41108e3400f4a907e351203 +https://gitlab.com/orcus/orcus/-/merge_requests/136 + +From fa68d6a76778df26e41108e3400f4a907e351203 Mon Sep 17 00:00:00 2001 +From: Kohei Yoshida +Date: Tue, 19 Jul 2022 21:11:16 -0400 +Subject: [PATCH] Explicitly include header with GCC 13 (#162) + +c.f. https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes +--- a/include/orcus/base64.hpp ++++ b/include/orcus/base64.hpp +@@ -9,6 +9,7 @@ + #define __ORCUS_BASE64_HPP__ + + #include "env.hpp" ++#include + #include + #include + +--- a/include/orcus/types.hpp ++++ b/include/orcus/types.hpp +@@ -8,6 +8,7 @@ + #ifndef INCLUDED_ORCUS_TYPES_HPP + #define INCLUDED_ORCUS_TYPES_HPP + ++#include + #include + #include + #include -- cgit v1.2.3-65-gdbad