From cc829051345260562b6f4685e2c1d5a3204b3688 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 3 Dec 2022 14:43:55 +0100 Subject: [PATCH] electron19: fix build with gcc 12 --- srcpkgs/electron19/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/electron19/template b/srcpkgs/electron19/template index ed40a221ebe..068136be762 100644 --- a/srcpkgs/electron19/template +++ b/srcpkgs/electron19/template @@ -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 |&\n#include |" -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