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

stone-phaser: fix `gcc-13` build failure
This commit is contained in:
Nick Cao 2024-02-11 12:45:36 -05:00 committed by GitHub
commit 38afef5023
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)" ];