Unverified Commit 03c8e793 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #289859 from trofi/goldberg-emu-gcc-13-fix

goldberg-emu: fix `gcc-13` build failure
parents c9841a41 62e4ece9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 ];