File GCC11_build_fixes.patch of Package liborcus.18168

From dc0010c5407cee2cce6ced50ef962def8ab5e0d1 Mon Sep 17 00:00:00 2001
From: hedmo <hedmoo@yahoo.com>
Date: Fri, 8 Jan 2021 07:30:16 +0000
Subject: [PATCH] Update orcus_xlsx.cpp to build with gcc-11

---
 src/liborcus/orcus_xlsx.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/liborcus/orcus_xlsx.cpp b/src/liborcus/orcus_xlsx.cpp
index d9e16ef..836ec91 100644
--- a/src/liborcus/orcus_xlsx.cpp
+++ b/src/liborcus/orcus_xlsx.cpp
@@ -32,6 +32,7 @@
 
 #include <cstdlib>
 #include <iostream>
+#include <limits>
 #include <string>
 #include <cstring>
 #include <sstream>
-- 
2.30.0

From 2cd8ebe29842269d22b87237a4f889795edac95a Mon Sep 17 00:00:00 2001
From: hedmo <hedmoo@yahoo.com>
Date: Fri, 8 Jan 2021 07:34:17 +0000
Subject: [PATCH] Update xlsx_revision_context.cpp to build with gcc-11

---
 src/liborcus/xlsx_revision_context.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/liborcus/xlsx_revision_context.cpp b/src/liborcus/xlsx_revision_context.cpp
index edfd9ee..0b6ec0a 100644
--- a/src/liborcus/xlsx_revision_context.cpp
+++ b/src/liborcus/xlsx_revision_context.cpp
@@ -16,6 +16,7 @@
 #include "orcus/global.hpp"
 
 #include <iostream>
+#include <limits>
 
 using namespace std;
 
-- 
2.30.0

From 3bfa1a000e4639fe68781c584356ceea7c6b1a72 Mon Sep 17 00:00:00 2001
From: hedmo <hedmoo@yahoo.com>
Date: Fri, 8 Jan 2021 07:32:53 +0000
Subject: [PATCH] Update xls_xml_context.cpp to build with gcc-11

---
 src/liborcus/xls_xml_context.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/liborcus/xls_xml_context.cpp b/src/liborcus/xls_xml_context.cpp
index 538f5607..ca3dc4d0 100644
--- a/src/liborcus/xls_xml_context.cpp
+++ b/src/liborcus/xls_xml_context.cpp
@@ -16,6 +16,7 @@
 #include <mdds/sorted_string_map.hpp>
 
 #include <iostream>
+#include <limits>
 
 using namespace std;
 namespace ss = orcus::spreadsheet;
-- 
GitLab
openSUSE Build Service is sponsored by