Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 41 lines 1.2 kB view raw
1From 59f8403616e8db6dcf8f3489c44b61524044fe64 Mon Sep 17 00:00:00 2001 2From: Fernando Rodrigues <alpha@sigmasquadron.net> 3Date: Thu, 2 Jan 2025 04:28:42 +0000 4Subject: [PATCH] Function inclusion fixes for GCC 14 5 6This patch includes <algorithm> in bsa_file.cpp and <list> in 7charactermanager.hpp to prevent a build failure with GCC 14. 8 9Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net> 10--- 11 apps/openmw/mwstate/charactermanager.hpp | 1 + 12 components/bsa/bsa_file.cpp | 1 + 13 2 files changed, 2 insertions(+) 14 15diff --git a/apps/openmw/mwstate/charactermanager.hpp b/apps/openmw/mwstate/charactermanager.hpp 16index 8b3f2b8f8f..fac73b3d44 100644 17--- a/apps/openmw/mwstate/charactermanager.hpp 18+++ b/apps/openmw/mwstate/charactermanager.hpp 19@@ -4,6 +4,7 @@ 20 #include <boost/filesystem/path.hpp> 21 22 #include "character.hpp" 23+#include <list> 24 25 namespace MWState 26 { 27diff --git a/components/bsa/bsa_file.cpp b/components/bsa/bsa_file.cpp 28index 4f795ec0d4..38e97b267b 100644 29--- a/components/bsa/bsa_file.cpp 30+++ b/components/bsa/bsa_file.cpp 31@@ -25,6 +25,7 @@ 32 33 #include <components/files/constrainedfilestream.hpp> 34 35+#include <algorithm> 36 #include <cassert> 37 38 #include <boost/filesystem/path.hpp> 39-- 402.47.0 41