forked from mirrors/nixpkgs
KDE 4.10: kdesdk-thumbnailers: Patch the build system to fix build failure.
Patch contributed by Karn Kallio.
This commit is contained in:
parent
a2359c02cd
commit
9f0d9a3b01
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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()
|
Loading…
Reference in a new issue