KDE 4.10: kdesdk-thumbnailers: Patch the build system to fix build failure.

Patch contributed by Karn Kallio.
This commit is contained in:
Evgeny Egorochkin 2013-05-06 15:31:28 +03:00
parent a2359c02cd
commit 9f0d9a3b01
2 changed files with 15 additions and 1 deletions

View File

@ -1,9 +1,11 @@
{ kde, kdelibs, gettext }:
kde {
#todo: doesn't build
buildInputs = [ kdelibs gettext ];
patches = [ ./thumbnailers-add-subdirectory.patch ];
meta = {
description = "PO file format thumbnailer";
};

View File

@ -0,0 +1,12 @@
diff -Naur kdesdk-4.10.2-upstream/kdesdk-thumbnailers/CMakeLists.txt kdesdk-4.10.2/kdesdk-thumbnailers/CMakeLists.txt
--- kdesdk-4.10.2-upstream/kdesdk-thumbnailers/CMakeLists.txt 2013-05-02 21:05:56.446226846 -0430
+++ kdesdk-4.10.2/kdesdk-thumbnailers/CMakeLists.txt 2013-05-02 21:09:58.504053136 -0430
@@ -9,7 +9,7 @@
macro_log_feature(GETTEXTPO_FOUND "gettext-po" "A library for processing PO files" "www.gnu.org/software/gettext" FALSE "" "Required to build the PO thumbnailer")
if(GETTEXTPO_FOUND)
-macro_optional_add_subdirectory(po_thumbnailer)
+add_subdirectory(po_thumbnailer)
endif(GETTEXTPO_FOUND)
macro_display_feature_log()