electron19: fix build with gcc 12

This commit is contained in:
Michal Vasilek 2022-12-03 14:43:55 +01:00
parent 6e907b32e3
commit cc82905134

View file

@ -201,6 +201,9 @@ pre_configure() {
vsed -e 's|python3.10|python3.11|g' -i third_party/electron_node/configure
vsed -e "s|(3, 10)|(3, 11)|" -i third_party/electron_node/configure
# Add missing include
vsed -e "s|#include <algorithm>|&\n#include <utility>|" -i base/third_party/symbolize/symbolize.h
mkdir -p third_party/node/linux/node-linux-x64/bin
ln -sf /usr/bin/node third_party/node/linux/node-linux-x64/bin/
rm -f third_party/devtools-frontend/src/third_party/esbuild/esbuild