From ff4351ac3b7662d2a07de9c8f4676516bb56dc35 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Sun, 24 Jun 2018 05:10:38 +0300 Subject: [PATCH] amarok: fix building against Qt-5.11 --- pkgs/applications/audio/amarok/kf5.nix | 2 ++ pkgs/applications/audio/amarok/qt5_11.patch | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 pkgs/applications/audio/amarok/qt5_11.patch diff --git a/pkgs/applications/audio/amarok/kf5.nix b/pkgs/applications/audio/amarok/kf5.nix index a4ac2943bfb..461fc260207 100644 --- a/pkgs/applications/audio/amarok/kf5.nix +++ b/pkgs/applications/audio/amarok/kf5.nix @@ -21,6 +21,8 @@ in mkDerivation { sha256 = "05w7kl6qfmkjz0y1bhgkkbmsqdll30bkjd6npkzvivrvp7dplmbh"; }; + patches = [ ./qt5_11.patch ]; + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; propagatedBuildInputs = [ qca-qt5 qjson qtscript qtwebkit diff --git a/pkgs/applications/audio/amarok/qt5_11.patch b/pkgs/applications/audio/amarok/qt5_11.patch new file mode 100644 index 00000000000..36041c136c8 --- /dev/null +++ b/pkgs/applications/audio/amarok/qt5_11.patch @@ -0,0 +1,11 @@ +--- a/src/aboutdialog/ExtendedAboutDialog.cpp ++++ b/src/aboutdialog/ExtendedAboutDialog.cpp +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + #include + + #include +