diff options
author | Jan Solanti <jhs@psonet.com> | 2024-01-09 22:57:56 +0200 |
---|---|---|
committer | Jan Solanti <jhs@psonet.com> | 2024-01-09 22:57:56 +0200 |
commit | 95c05c41027486403bb6b6a3f61207c2967bca8b (patch) | |
tree | 006186b1ba7277ee9a8e83db619ea0d6469b419a /pkgs/games | |
parent | 5062375b6a9a4f14a48855ebed48a391bb1557b9 (diff) |
superTuxKart: fix build with GCC 13
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/super-tux-kart/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/games/super-tux-kart/default.nix b/pkgs/games/super-tux-kart/default.nix index d92f01cad37ae..3077d5b9443c1 100644 --- a/pkgs/games/super-tux-kart/default.nix +++ b/pkgs/games/super-tux-kart/default.nix @@ -122,6 +122,13 @@ stdenv.mkDerivation rec { "-DOpenGL_GL_PREFERENCE=GLVND" ]; + CXXFLAGS = [ + # GCC 13: error: 'snprintf' was not declared in this scope + "-include cstdio" + # GCC 13: error: 'runtime_error' is not a member of 'std' + "-include stdexcept" + ]; + # Extract binary from built app bundle postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' mkdir $out/bin |