rustdesk: fix build

fixing same build errors as d639b220b0 did
for rustdesk-flutter in #475893.
This commit is contained in:
Benno Bielmeier
2026-01-07 19:28:54 +01:00
parent 0a2a75c03b
commit fc9fbbe90b
+5
View File
@@ -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 = ''