Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37787477
en ru br
ALT Linux repos
S:4.2.6-alt2
5.0: 2.0.10-alt1
4.1: 2.0.10-alt1
4.0: 2.0.7-alt1
3.0: 0.2.2-alt1

Group :: Games/Strategy
RPM: warzone2100

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0001-Fix-build-on-GCC13.patch
Download


From 08cfe6015c46adaeb98581eeb4d640e3f4273fba Mon Sep 17 00:00:00 2001
From: Artyom Bystrov <arbars@altlinux.org>
Date: Mon, 3 Jul 2023 18:04:38 +0300
Subject: [PATCH] Fix build on GCC13
---
 lib/framework/physfs_ext.h | 1 +
 lib/framework/wzstring.h   | 1 +
 2 files changed, 2 insertions(+)
diff --git a/lib/framework/physfs_ext.h b/lib/framework/physfs_ext.h
index 63256c775..bf16d95ca 100644
--- a/lib/framework/physfs_ext.h
+++ b/lib/framework/physfs_ext.h
@@ -29,6 +29,7 @@
 #include "wzglobal.h"
 
 #include <functional>
+#include <cstdint>
 
 #define PHYSFS_APPEND 1
 #define PHYSFS_PREPEND 0
diff --git a/lib/framework/wzstring.h b/lib/framework/wzstring.h
index f7b541638..6e5f5026b 100644
--- a/lib/framework/wzstring.h
+++ b/lib/framework/wzstring.h
@@ -23,6 +23,7 @@
 #include <string>
 #include <vector>
 #include <locale>
+#include <cstdint>
 
 // Stores a unicode codepoint
 // Internally, this stores the codepoint as UTF-32
-- 
2.33.8
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin