summaryrefslogtreecommitdiff
path: root/dev-libs/liborcus/files/liborcus-0.17.2-gcc-14.patch
blob: a8455c9dff719f322176e9780052387ded095bed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
https://gitlab.com/orcus/orcus/-/commit/f5dca3b4f7c6ffda4b71e0ba9f7081ab2eec3405
https://gitlab.com/orcus/orcus/-/issues/192
https://bugs.gentoo.org/916582

From f5dca3b4f7c6ffda4b71e0ba9f7081ab2eec3405 Mon Sep 17 00:00:00 2001
From: Kohei Yoshida <kohei.yoshida@gmail.com>
Date: Thu, 26 Oct 2023 22:09:30 -0400
Subject: [PATCH] Attempt to fix a build failure with GCC 14 as reported in #192

diff --git a/src/spreadsheet/document.cpp b/src/spreadsheet/document.cpp
index 1cf240a..562be32 100644
--- a/src/spreadsheet/document.cpp
+++ b/src/spreadsheet/document.cpp
@@ -32,6 +32,7 @@
 #include <fstream>
 #include <sstream>
 #include <map>
+#include <algorithm>

 using namespace std;
 namespace fs = boost::filesystem;