mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-strategy/warzone2100: fix build w/ gcc-15
Not sent upstream as we should really bump warzone2100 first. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
--- a/3rdparty/SQLiteCpp/include/SQLiteCpp/Statement.h
|
||||
+++ b/3rdparty/SQLiteCpp/include/SQLiteCpp/Statement.h
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <SQLiteCpp/Exception.h>
|
||||
#include <SQLiteCpp/Utils.h> // SQLITECPP_PURE_FUNC
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
--- a/lib/wzmaplib/include/wzmaplib/map_io.h
|
||||
+++ b/lib/wzmaplib/include/wzmaplib/map_io.h
|
||||
@@ -21,6 +21,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
--- a/lib/wzmaplib/src/map_script.h
|
||||
+++ b/lib/wzmaplib/src/map_script.h
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
+#include <cstdint>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user