Unverified Commit e2bc6c3d authored by Artturi's avatar Artturi Committed by GitHub
Browse files

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

mangohud: backport gcc-13 fix
parents 9a423e2c d97e83ff
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 = ''