Group :: Games/Strategy
RPM: warzone2100
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: 0001-Fix-build-on-GCC13.patch
Download
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