Репозитории ALT
S: | 4.2.6-alt2 |
5.1: | 2.2.2-alt1 |
4.1: | 2.0.10-alt1 |
4.0: | 2.0.7-alt1 |
3.0: | 0.2.2-alt1 |
Группа :: Игры/Стратегия
Пакет: warzone2100
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0001-Fix-build-on-GCC13.patch
Скачать
Скачать
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