about summary refs log tree commit diff
path: root/pkgs/applications/kde
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-10-06 23:57:04 +0200
committerGitHub <noreply@github.com>2021-10-06 23:57:04 +0200
commit9e016672b17fb167f8cb8c6e854bfa6109b3c6ba (patch)
treeb339113eeb2a4c9038c6d036f485c5568d3afaaf /pkgs/applications/kde
parent68f25d5a86282be8fac90116db3ac676988ef04b (diff)
parent7ad2a73cb286223c2f5116f2a728f42aa0467c98 (diff)
downloadnixlib-9e016672b17fb167f8cb8c6e854bfa6109b3c6ba.tar
nixlib-9e016672b17fb167f8cb8c6e854bfa6109b3c6ba.tar.gz
nixlib-9e016672b17fb167f8cb8c6e854bfa6109b3c6ba.tar.bz2
nixlib-9e016672b17fb167f8cb8c6e854bfa6109b3c6ba.tar.lz
nixlib-9e016672b17fb167f8cb8c6e854bfa6109b3c6ba.tar.xz
nixlib-9e016672b17fb167f8cb8c6e854bfa6109b3c6ba.tar.zst
nixlib-9e016672b17fb167f8cb8c6e854bfa6109b3c6ba.zip
Merge pull request #140523 from hjones2199/gpsd-fixes
Diffstat (limited to 'pkgs/applications/kde')
-rw-r--r--pkgs/applications/kde/marble.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/kde/marble.nix b/pkgs/applications/kde/marble.nix
index 7fe3aa529fa2..637ae3bc977e 100644
--- a/pkgs/applications/kde/marble.nix
+++ b/pkgs/applications/kde/marble.nix
@@ -2,7 +2,7 @@
 , extra-cmake-modules, kdoctools
 , qtscript, qtsvg, qtquickcontrols, qtwebengine
 , krunner, shared-mime-info, kparts, knewstuff
-, gpsd, perl
+, gpsd, perl, fetchpatch
 }:
 
 mkDerivation {
@@ -18,6 +18,15 @@ mkDerivation {
     qtscript qtsvg qtquickcontrols qtwebengine shared-mime-info krunner kparts
     knewstuff gpsd
   ];
+  patches = [
+    (fetchpatch {
+      # Backport fix to allow compilation with gpsd 3.23.1
+      # Remove when marble compiles without the patch.
+      # See: https://invent.kde.org/education/marble/-/merge_requests/57
+      url = "https://invent.kde.org/education/marble/-/commit/8aadc3eb8f9484a65d497d442cd8c61fe1462bef.diff";
+      sha256 = "sha256-ZkPXyunVItSRctv6SLGIonvyZwLDhCz+wfJrIXeHcDo=";
+    })
+  ];
   preConfigure = ''
     cmakeFlags+=" -DINCLUDE_INSTALL_DIR=''${!outputDev}/include"
   '';