mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
qt5.qtwebengine: fix build with bison-3.7 (#96295)
This commit is contained in:
parent
28aef45a1a
commit
90db9641cb
|
@ -15,7 +15,7 @@
|
||||||
, gn
|
, gn
|
||||||
, cups, darwin, openbsm, runCommand, xcbuild, writeScriptBin
|
, cups, darwin, openbsm, runCommand, xcbuild, writeScriptBin
|
||||||
, ffmpeg_3 ? null
|
, ffmpeg_3 ? null
|
||||||
, lib, stdenv
|
, lib, stdenv, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
@ -38,6 +38,17 @@ qtModule {
|
||||||
# which cannot be set at the same time as -Wformat-security
|
# which cannot be set at the same time as -Wformat-security
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix build with bison-3.7: https://code.qt.io/cgit/qt/qtwebengine-chromium.git/commit/?id=1a53f599
|
||||||
|
(fetchpatch {
|
||||||
|
name = "qtwebengine-bison-3.7-build.patch";
|
||||||
|
url = "https://code.qt.io/cgit/qt/qtwebengine-chromium.git/patch/?id=1a53f599";
|
||||||
|
sha256 = "1nqpyn5fq37q7i9nasag6i14lnz0d7sld5ikqhlm8qwq9d7gbmjy";
|
||||||
|
stripLen = 1;
|
||||||
|
extraPrefix = "src/3rdparty/";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
# Patch Chromium build tools
|
# Patch Chromium build tools
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue