Unverified Commit 38afef50 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #287977 from trofi/stone-phaser-gcc-13-fix

stone-phaser: fix `gcc-13` build failure
parents fe374929 8744f66e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,9 @@ stdenv.mkDerivation rec {
  postPatch = ''
    patch -d dpf -p 1 -i "$src/resources/patch/DPF-bypass.patch"
    patchShebangs ./dpf/utils/generate-ttl.sh

    # Fix gcc-13 build failure due to missing includes
    sed -e '1i #include <cstdint>' -i plugins/stone-phaser/ui/Color.h
  '';

  installFlags = [ "PREFIX=$(out)" ];