diff --git a/kde/frameworks/tier1/ki18n/0002-Keep-LibIntl-libraries-path.patch b/kde/frameworks/tier1/ki18n/0002-Keep-LibIntl-libraries-path.patch new file mode 100644 --- /dev/null +++ b/kde/frameworks/tier1/ki18n/0002-Keep-LibIntl-libraries-path.patch @@ -0,0 +1,12 @@ +diff --git a/cmake/FindLibIntl.cmake b/cmake/FindLibIntl.cmake +index 6ec18a9..a86b3a6 100644 +--- a/cmake/FindLibIntl.cmake ++++ b/cmake/FindLibIntl.cmake +@@ -50,7 +50,6 @@ check_cxx_symbol_exists(dngettext libintl.h LibIntl_SYMBOL_FOUND) + include(FindPackageHandleStandardArgs) + if(LibIntl_SYMBOL_FOUND) + message(STATUS "libintl is part of libc, no extra library is required.") +- set(LibIntl_LIBRARIES "") + if(LibIntl_INCLUDE_DIRS) + find_package_handle_standard_args(LibIntl REQUIRED_VARS LibIntl_INCLUDE_DIRS) + else() diff --git a/kde/frameworks/tier1/ki18n/ki18n.py b/kde/frameworks/tier1/ki18n/ki18n.py --- a/kde/frameworks/tier1/ki18n/ki18n.py +++ b/kde/frameworks/tier1/ki18n/ki18n.py @@ -4,8 +4,10 @@ class subinfo(info.infoclass): def setTargets(self): self.versionInfo.setDefaultValues() - self.patchToApply["5.45.0"] = [("0001-Don-t-need-to-run-previous-iterations-commands-again.patch", 1)] - + self.patchToApply["5.45.0"] = [("0001-Don-t-need-to-run-previous-iterations-commands-again.patch", 1), + ("0002-Keep-LibIntl-libraries-path.patch", 1)] + for ver in ['master', '5.42.0', '5.43.0', '5.44.0', '5.46.0', '5.47.0', '5.48.0', '5.49.0']: + self.patchToApply[ver] = [("0002-Keep-LibIntl-libraries-path.patch", 1)] self.description = "Ki18n" def setDependencies(self):