mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 21:07:35 +00:00
krusader: 2.7.2 -> 2.8.0
This commit is contained in:
parent
a8f393e6c1
commit
1875a29c74
20
pkgs/applications/file-managers/krusader/compat-fix.patch
Normal file
20
pkgs/applications/file-managers/krusader/compat-fix.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff --git a/app/compat.h b/app/compat.h
|
||||
index b63d561..c051f35 100644
|
||||
--- a/app/compat.h
|
||||
+++ b/app/compat.h
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
#if __has_include(<KCompletion/kcompletion_version.h>)
|
||||
# include <KCompletion/kcompletion_version.h>
|
||||
-#else // Pre KF-5.91 header layout
|
||||
+#elif __has_include(<kcompletion_version.h>) // Pre KF-5.91 header layout
|
||||
# include <kcompletion_version.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<KArchive/karchive_version.h>)
|
||||
# include <KArchive/karchive_version.h>
|
||||
-#else // Pre KF-5.91 header layout
|
||||
+#elif __has_include(<karchive_version.h>) // Pre KF-5.91 header layout
|
||||
# include <karchive_version.h>
|
||||
#endif
|
||||
|
@ -15,13 +15,18 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "krusader";
|
||||
version = "2.7.2";
|
||||
version = "2.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
|
||||
hash = "sha256-QaOaQ7PELdHR7K6obfMMr/agYf7MHWb2CFmyo8qXYQk=";
|
||||
hash = "sha256-jkzwWpMYsLwbCUGBG5iLLyuwwEoNHjeZghKpGQzywpo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix compilation error due to forceful header include
|
||||
./compat-fix.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
extra-cmake-modules
|
||||
kdoctools
|
||||
|
Loading…
Reference in New Issue
Block a user