inclue cstdint for gcc 13

f41
Caolán McNamara 2 years ago
parent 9ec78f64b8
commit 2b29ef8614

@ -0,0 +1,25 @@
diff -ru liborcus-0.17.2.orig/include/orcus/base64.hpp liborcus-0.17.2/include/orcus/base64.hpp
--- liborcus-0.17.2.orig/include/orcus/base64.hpp 2023-01-23 20:34:32.641993292 +0000
+++ liborcus-0.17.2/include/orcus/base64.hpp 2023-01-23 20:43:45.653157969 +0000
@@ -9,8 +9,9 @@
#define __ORCUS_BASE64_HPP__
#include "env.hpp"
-#include <vector>
+#include <cstdint>
#include <string>
+#include <vector>
namespace orcus {
diff -ru liborcus-0.17.2.orig/include/orcus/types.hpp liborcus-0.17.2/include/orcus/types.hpp
--- liborcus-0.17.2.orig/include/orcus/types.hpp 2023-01-23 20:34:32.641993292 +0000
+++ liborcus-0.17.2/include/orcus/types.hpp 2023-01-23 20:35:00.060249357 +0000
@@ -8,6 +8,7 @@
#ifndef INCLUDED_ORCUS_TYPES_HPP
#define INCLUDED_ORCUS_TYPES_HPP
+#include <cstdint>
#include <cstdlib>
#include <vector>
#include <string>

@ -24,6 +24,7 @@ License: MPL-2.0
URL: https://gitlab.com/orcus/orcus
Source0: https://kohei.us/files/orcus/src/%{name}-%{version}.tar.xz
Patch0: liborcus-noexamples.patch
Patch1: 0001-include-cstdint.patch
BuildRequires: make
BuildRequires: boost-devel

Loading…
Cancel
Save