Merge pull request #289859 from trofi/goldberg-emu-gcc-13-fix
goldberg-emu: fix `gcc-13` build failure
This commit is contained in:
commit
03c8e7935e
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
|
||||||
# It attempts to install windows-only libraries which we never build
|
# It attempts to install windows-only libraries which we never build
|
||||||
patches = [ ./dont-install-unsupported.patch ];
|
patches = [ ./dont-install-unsupported.patch ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Fix gcc-13 build failure due to missing <string> include.
|
||||||
|
sed -e '1i #include <string>' -i dll/settings.h
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ protobuf ];
|
buildInputs = [ protobuf ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue