From 79fab52ed6f9b7e0d07529460ef05ed338c45efa Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 6 Aug 2024 12:30:49 +0100 Subject: games-strategy/warzone2100: fix build w/ gcc-15 Not sent upstream as we should really bump warzone2100 first. Signed-off-by: Sam James --- .../files/warzone2100-4.4.2-gcc15-cstdint.patch | 30 ++++++++++++++++++++++ .../warzone2100/warzone2100-4.4.2.ebuild | 1 + 2 files changed, 31 insertions(+) create mode 100644 games-strategy/warzone2100/files/warzone2100-4.4.2-gcc15-cstdint.patch (limited to 'games-strategy/warzone2100') diff --git a/games-strategy/warzone2100/files/warzone2100-4.4.2-gcc15-cstdint.patch b/games-strategy/warzone2100/files/warzone2100-4.4.2-gcc15-cstdint.patch new file mode 100644 index 000000000000..75e1aaeb97a0 --- /dev/null +++ b/games-strategy/warzone2100/files/warzone2100-4.4.2-gcc15-cstdint.patch @@ -0,0 +1,30 @@ +--- a/3rdparty/SQLiteCpp/include/SQLiteCpp/Statement.h ++++ b/3rdparty/SQLiteCpp/include/SQLiteCpp/Statement.h +@@ -14,6 +14,7 @@ + #include + #include // SQLITECPP_PURE_FUNC + ++#include + #include + #include + #include +--- a/lib/wzmaplib/include/wzmaplib/map_io.h ++++ b/lib/wzmaplib/include/wzmaplib/map_io.h +@@ -21,6 +21,7 @@ + #pragma once + + #include ++#include + #include + #include + #include +--- a/lib/wzmaplib/src/map_script.h ++++ b/lib/wzmaplib/src/map_script.h +@@ -19,6 +19,7 @@ + + #pragma once + ++#include + #include + #include + #include diff --git a/games-strategy/warzone2100/warzone2100-4.4.2.ebuild b/games-strategy/warzone2100/warzone2100-4.4.2.ebuild index 3125e1492345..1d21880339b4 100644 --- a/games-strategy/warzone2100/warzone2100-4.4.2.ebuild +++ b/games-strategy/warzone2100/warzone2100-4.4.2.ebuild @@ -65,6 +65,7 @@ DOCS=( README.md doc/images doc/Scripting.md doc/js-globals.md ) PATCHES=( "${FILESDIR}"/${PN}-4.1.3-no-compress-manpages.patch + "${FILESDIR}"/${PN}-4.4.2-gcc15-cstdint.patch ) src_unpack() { -- cgit v1.2.3-65-gdbad