pingus: fix gcc-13 build failure

Without the change the build in `master` fails as
https://hydra.nixos.org/build/247719962:

    In file included from /build/pingus-709546d/src/engine/display/font_description.hpp:23,
                     from /build/pingus-709546d/src/engine/display/font_description.cpp:17:
    /build/pingus-709546d/src/util/pathname.hpp:79:3: error: 'uint64_t' does not name a type
       79 |   uint64_t mtime() const;
          |   ^~~~~~~~
This commit is contained in:
Sergei Trofimovich 2024-02-10 21:35:06 +00:00
parent ef6206934d
commit d9b9cdd10c

View File

@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
postPatch = ''
# Fix missing gcc-13 headers
sed -e '1i #include <cstdint>' -i src/util/pathname.hpp
'';
meta = {
description = "A puzzle game with mechanics similar to Lemmings";
platforms = lib.platforms.linux;