mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
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
|
@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
|
|||
# It attempts to install windows-only libraries which we never build
|
||||
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 ];
|
||||
buildInputs = [ protobuf ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue