krusader: 2.7.2 -> 2.8.0

This commit is contained in:
ftk 2023-05-01 13:11:17 +03:00 committed by Emery Hemingway
parent a8f393e6c1
commit 1875a29c74
2 changed files with 27 additions and 2 deletions

View 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

View file

@ -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