summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-19 04:07:02 +0100
committerSam James <sam@gentoo.org>2023-04-19 04:07:02 +0100
commitdb521d678981944d99b3aa4e81c741d30bded791 (patch)
tree788f03e875d9d6e86d45cf85b6c0fed22b252af6 /games-strategy/endless-sky/files/endless-sky-0.9.16.1-gcc13.patch
parentsys-apps/shadow: Stabilize 4.13-r3 x86, #904520 (diff)
downloadgentoo-db521d678981944d99b3aa4e81c741d30bded791.tar.gz
gentoo-db521d678981944d99b3aa4e81c741d30bded791.tar.bz2
gentoo-db521d678981944d99b3aa4e81c741d30bded791.zip
games-strategy/endless-sky: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/894782 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-strategy/endless-sky/files/endless-sky-0.9.16.1-gcc13.patch')
-rw-r--r--games-strategy/endless-sky/files/endless-sky-0.9.16.1-gcc13.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/games-strategy/endless-sky/files/endless-sky-0.9.16.1-gcc13.patch b/games-strategy/endless-sky/files/endless-sky-0.9.16.1-gcc13.patch
new file mode 100644
index 000000000000..428e67da568e
--- /dev/null
+++ b/games-strategy/endless-sky/files/endless-sky-0.9.16.1-gcc13.patch
@@ -0,0 +1,45 @@
+https://bugs.gentoo.org/894782
+https://github.com/endless-sky/endless-sky/commit/a85df936c24feba6eb5f7f484c160aff0a60d6cb
+https://github.com/endless-sky/endless-sky/commit/7483f72cc72511786ba3aac13b4cbe0848a2aefc
+
+From a85df936c24feba6eb5f7f484c160aff0a60d6cb Mon Sep 17 00:00:00 2001
+From: Heiko Becker <mail@heiko-becker.de>
+Date: Sat, 28 Jan 2023 16:29:40 +0100
+Subject: [PATCH] chore: Fix build with gcc 13 by including <cstdint> (#8235)
+
+--- a/source/ImageBuffer.h
++++ b/source/ImageBuffer.h
+@@ -16,6 +16,7 @@ this program. If not, see <https://www.gnu.org/licenses/>.
+ #ifndef IMAGE_BUFFER_H_
+ #define IMAGE_BUFFER_H_
+
++#include <cstdint>
+ #include <string>
+
+
+--- a/source/Sound.cpp
++++ b/source/Sound.cpp
+@@ -20,6 +20,7 @@ this program. If not, see <https://www.gnu.org/licenses/>.
+
+ #include <AL/al.h>
+
++#include <cstdint>
+ #include <cstdio>
+ #include <vector>
+
+
+From 7483f72cc72511786ba3aac13b4cbe0848a2aefc Mon Sep 17 00:00:00 2001
+From: Nick <quyykk@protonmail.com>
+Date: Wed, 8 Mar 2023 19:41:40 +0100
+Subject: [PATCH] chore: Add a missing #include, caught by gcc 13 (#8511)
+
+--- a/source/Preferences.h
++++ b/source/Preferences.h
+@@ -16,6 +16,7 @@ this program. If not, see <https://www.gnu.org/licenses/>.
+ #ifndef PREFERENCES_H_
+ #define PREFERENCES_H_
+
++#include <cstdint>
+ #include <string>
+
+