summaryrefslogtreecommitdiff
path: root/dev-libs/liborcus/files/liborcus-0.17.2-gcc-13.patch
blob: fa4892053b107f0074e8d9b04bed84c760de7bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>