diff --git a/recipes-kde/kf5/tier1/sonnet/files/0002-core-add-valid-extra-plugin-search-path.patch b/recipes-kde/kf5/tier1/sonnet/files/0002-core-add-valid-extra-plugin-search-path.patch new file mode 100644 index 00000000..ac62a48a --- /dev/null +++ b/recipes-kde/kf5/tier1/sonnet/files/0002-core-add-valid-extra-plugin-search-path.patch @@ -0,0 +1,31 @@ +From e08552046c304df50471e639780c8effdc5b593c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 9 Feb 2015 13:55:48 +0100 +Subject: [PATCH] core: add valid extra plugin search path +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Andreas Müller +--- + src/core/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt +index 476bf22..a8ec795 100644 +--- a/src/core/CMakeLists.txt ++++ b/src/core/CMakeLists.txt +@@ -14,7 +14,7 @@ set(sonnetcore_SRCS + ) + + # Dear packagers, this is just used as an extra search paths for plugins. Don't get your panties in a twist. +-add_definitions(-DINSTALLATION_PLUGIN_PATH="${CMAKE_INSTALL_PREFIX}/${KDE_INSTALL_PLUGINDIR}") ++add_definitions(-DINSTALLATION_PLUGIN_PATH="${KDE_INSTALL_PLUGINDIR}") + + + add_library(KF5SonnetCore ${sonnetcore_SRCS}) +-- +1.9.3 + diff --git a/recipes-kde/kf5/tier1/sonnet/sonnet.bb b/recipes-kde/kf5/tier1/sonnet/sonnet.bb index 089c1a5c..c9ab33f5 100644 --- a/recipes-kde/kf5/tier1/sonnet/sonnet.bb +++ b/recipes-kde/kf5/tier1/sonnet/sonnet.bb @@ -4,6 +4,8 @@ inherit cmake-lib DEPENDS += "${BPN}-native" +SRC_URI += "file://0002-core-add-valid-extra-plugin-search-path.patch" + do_configure_append() { # use native parsetrigrams sed -i 's:\./parsetrigrams:${STAGING_BINDIR_NATIVE}/parsetrigrams:' ${B}/data/CMakeFiles/trigrams_sonnet.dir/build.make