Unverified Commit 927c4fb9 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

rustdesk: fix build (#477828)

parents 928cd9db fc9fbbe9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -111,6 +111,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
    xdotool
  ];

  postPatch = ''
    sed -e '1i #include <cstdint>' -i $cargoDepsCopy/webm-1.1.0/src/sys/libwebm/mkvparser/mkvparser.cc
    sed -e '1i #include <cstdint>' -i $cargoDepsCopy/webm-sys-1.0.4/libwebm/mkvparser/mkvparser.cc
  '';

  # Add static ui resources and libsciter to same folder as binary so that it
  # can find them.
  postInstall = ''