Merge pull request #248783 from trofi/mangohud-gcc-13-fix

mangohud: backport gcc-13 fix
This commit is contained in:
Artturi 2023-08-13 06:49:25 +03:00 committed by GitHub
commit e2bc6c3d27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
, fetchFromGitLab
, fetchFromGitHub
, fetchurl
, fetchpatch
, substituteAll
, coreutils
, curl
@ -123,6 +124,13 @@ stdenv.mkDerivation (finalAttrs: {
libdbus = dbus.lib;
inherit hwdata;
})
# Pull gcc-13 build fix for nissing <cstdint>
(fetchpatch {
name = "gcc-13.patch";
url = "https://github.com/flightlessmango/MangoHud/commit/3f8f036ee8773ae1af23dd0848b6ab487b5ac7de.patch";
hash = "sha256-qbNywAXAStGiVZ1LA5qZyNp4n28iNUuE4N69zXv2gmM=";
})
];
postPatch = ''