diff options
author | WANG Xuerui <xen0n@gentoo.org> | 2022-08-12 10:33:37 +0800 |
---|---|---|
committer | WANG Xuerui <xen0n@gentoo.org> | 2022-08-23 15:40:31 +0800 |
commit | 07677fc22445c8e3c18352c0a7166ff20321fcca (patch) | |
tree | c5d3853fd5f4a65ff3caef8e39d37e52ebb9c537 /dev-libs/liborcus | |
parent | dev-cpp/abseil-cpp: keyword 20211102.0-r2 for ~loong (diff) | |
download | gentoo-07677fc22445c8e3c18352c0a7166ff20321fcca.tar.gz gentoo-07677fc22445c8e3c18352c0a7166ff20321fcca.tar.bz2 gentoo-07677fc22445c8e3c18352c0a7166ff20321fcca.zip |
dev-libs/liborcus: fix build on gcc-13
Closes: https://bugs.gentoo.org/865213
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Diffstat (limited to 'dev-libs/liborcus')
-rw-r--r-- | dev-libs/liborcus/files/liborcus-0.17.2-gcc-13.patch | 29 | ||||
-rw-r--r-- | dev-libs/liborcus/liborcus-0.17.2.ebuild | 1 |
2 files changed, 30 insertions, 0 deletions
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 <kohei.yoshida@gmail.com> +Date: Tue, 19 Jul 2022 21:11:16 -0400 +Subject: [PATCH] Explicitly include <cstdint> 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 <cstdint> + #include <vector> + #include <string> + +--- 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 <cstdint> + #include <cstdlib> + #include <vector> + #include <string> diff --git a/dev-libs/liborcus/liborcus-0.17.2.ebuild b/dev-libs/liborcus/liborcus-0.17.2.ebuild index cc350aa44e50..4d6c290cda94 100644 --- a/dev-libs/liborcus/liborcus-0.17.2.ebuild +++ b/dev-libs/liborcus/liborcus-0.17.2.ebuild @@ -39,6 +39,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${P}-clang.patch + "${FILESDIR}"/${P}-gcc-13.patch ) pkg_setup() { |