diff --git a/games/pioneer/gcc-14.diff b/games/pioneer/gcc-14.diff new file mode 100644 index 00000000000..f71de6c62bd --- /dev/null +++ b/games/pioneer/gcc-14.diff @@ -0,0 +1,10 @@ +--- src/Input.h.orig 2024-05-18 09:08:26.973952781 +0900 ++++ src/Input.h 2024-05-18 09:08:44.313951316 +0900 +@@ -12,6 +12,7 @@ + #include + #include + #include ++#include + + class IniConfig; + diff --git a/games/pioneer/pioneer.SlackBuild b/games/pioneer/pioneer.SlackBuild index d7d399338f4..3162d6de455 100644 --- a/games/pioneer/pioneer.SlackBuild +++ b/games/pioneer/pioneer.SlackBuild @@ -85,6 +85,8 @@ fi # Fix save compatibility (#5798). patch -p0 < $CWD/save-compat.diff +# GCC 14 compatibility. +patch -p0 < $CWD/gcc-14.diff GLEW=OFF LUA=OFF