about summary refs log tree commit diff
path: root/pkgs/development/libraries/qt-5/5.15
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-02-04 23:10:01 +0300
committerK900 <me@0upti.me>2023-02-04 23:10:53 +0300
commita25786f76f1020096fa58bbbebafeeb1a0ca6b76 (patch)
treea1c93a44889e747360a095d1649951fb89966038 /pkgs/development/libraries/qt-5/5.15
parente2d48792c503b6baea2d860492963a18946d1259 (diff)
qt5/qtwebengine: pick patch to fix build with gcc 12
Diffstat (limited to 'pkgs/development/libraries/qt-5/5.15')
-rw-r--r--pkgs/development/libraries/qt-5/5.15/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qt-5/5.15/default.nix b/pkgs/development/libraries/qt-5/5.15/default.nix
index 2829bb0be0278..7d876d884b374 100644
--- a/pkgs/development/libraries/qt-5/5.15/default.nix
+++ b/pkgs/development/libraries/qt-5/5.15/default.nix
@@ -64,6 +64,12 @@ let
         extraPrefix = "src/3rdparty/";
         hash = "sha256-MZGYeMdGzwypfKoSUaa56K3inbcGRx7he/+AFyk5ekA=";
       })
+      (fetchpatch {
+        url = "https://raw.githubusercontent.com/Homebrew/formula-patches/7ae178a617d1e0eceb742557e63721af949bd28a/qt5/qt5-webengine-gcc12.patch";
+        stripLen = 1;
+        extraPrefix = "src/3rdparty/";
+        hash = "sha256-s4GsGMJTBNWw2gTJuIEP3tqT82AmTsR2mbj59m2p6rM=";
+      })
     ] ++ lib.optionals stdenv.isDarwin [
       ./qtwebengine-darwin-no-platform-check.patch
       ./qtwebengine-mac-dont-set-dsymutil-path.patch