qt514.qtwebengine: fix build with gcc10

This commit is contained in:
Orivej Desh 2021-01-05 16:48:08 +00:00
parent 6b0396351e
commit ff612c5e56

View file

@ -87,6 +87,22 @@ let
stripLen = 1;
extraPrefix = "src/3rdparty/";
})
# Fix build with GCC 10 (part 1): https://code.qt.io/cgit/qt/qtwebengine-chromium.git/commit/?id=fad3e27b
(fetchpatch {
name = "qtwebengine-gcc10-part1.patch";
url = "https://code.qt.io/cgit/qt/qtwebengine-chromium.git/patch/?id=fad3e27bfb50d1e23a07577f087a826b5e00bb1d";
sha256 = "0c55j9zww8jyif6wl7jy1qqidgw9fdhiyfjgzhzi85r716m4pwwd";
stripLen = 1;
extraPrefix = "src/3rdparty/";
})
# Fix build with GCC 10 (part 2): https://code.qt.io/cgit/qt/qtwebengine-chromium.git/commit/?id=193c5bed
(fetchpatch {
name = "qtwebengine-gcc10-part2.patch";
url = "https://code.qt.io/cgit/qt/qtwebengine-chromium.git/patch/?id=193c5bed1cff123e21b7e6d12f464d6709ace2e3";
sha256 = "1jb6s32ara6l4rbn4h3gg95mzv8sd8dl1zpjaqwywf1w7p8ymk86";
stripLen = 1;
extraPrefix = "src/3rdparty/";
})
]
++ optional stdenv.isDarwin ./qtwebengine-darwin-no-platform-check.patch;
qtwebkit = [