File fix-gcc13.patch of Package performous
commit 356b83e4baff56629a1554e23c548def2e78f094
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date: Wed Dec 17 12:21:43 2025 +0000
Fix building with gcc13
for Leap 16.0
diff --git a/game/fs.hh b/game/fs.hh
index e3925d0..85d78e7 100644
--- a/game/fs.hh
+++ b/game/fs.hh
@@ -7,6 +7,7 @@
#ifdef USE_BOOST_FS
#include <boost/filesystem.hpp>
+#include <boost/filesystem/fstream.hpp>
namespace fs = boost::filesystem;
#if BOOST_VERSION < 107400
diff --git a/game/svg.cc b/game/svg.cc
index 29c5b24..91a6836 100644
--- a/game/svg.cc
+++ b/game/svg.cc
@@ -6,6 +6,7 @@
#include <librsvg/rsvg.h>
#include <iostream>
+#include <memory>
// Avoid deprecation messages with new versions since Ubuntu 12.10.
#if LIBRSVG_MAJOR_VERSION * 10000 + LIBRSVG_MINOR_VERSION * 100 + LIBRSVG_MICRO_VERSION < 23602
diff --git a/game/video_driver.hh b/game/video_driver.hh
index 2e097b2..ecfea97 100644
--- a/game/video_driver.hh
+++ b/game/video_driver.hh
@@ -5,6 +5,7 @@
#include "glutil.hh"
#include <map>
#include <functional>
+#include <memory>
#include <SDL_events.h>
float screenW();