summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-04-22 10:00:46 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-22 11:32:37 +0200
commit4b2a7ee17866dd768651b51cd6640f39506a8469 (patch)
tree68b6096fab2c20f25331eaf52808514c52731c94 /kde-frameworks/ki18n/files
parentmedia-libs/adplug: Version bump to 2.3.1 (diff)
downloadgentoo-4b2a7ee17866dd768651b51cd6640f39506a8469.tar.gz
gentoo-4b2a7ee17866dd768651b51cd6640f39506a8469.tar.bz2
gentoo-4b2a7ee17866dd768651b51cd6640f39506a8469.zip
kde-frameworks/ki18n: Fix performance of build-pofiles
Thanks-to: Greg Turner <gmturner007@ameritech.net> KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=393141 See also: https://phabricator.kde.org/D12216 Closes: https://bugs.gentoo.org/653756 Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'kde-frameworks/ki18n/files')
-rw-r--r--kde-frameworks/ki18n/files/ki18n-5.45.0-fix-build-pofiles.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/kde-frameworks/ki18n/files/ki18n-5.45.0-fix-build-pofiles.patch b/kde-frameworks/ki18n/files/ki18n-5.45.0-fix-build-pofiles.patch
new file mode 100644
index 000000000000..055a4c24db98
--- /dev/null
+++ b/kde-frameworks/ki18n/files/ki18n-5.45.0-fix-build-pofiles.patch
@@ -0,0 +1,38 @@
+From 9c32bdab29b345976eee3b9c1c4bebd76cdcdde2 Mon Sep 17 00:00:00 2001
+From: Aleix Pol <aleixpol@kde.org>
+Date: Sun, 15 Apr 2018 01:39:58 +0200
+Subject: Don't need to run previous iterations commands again
+
+Summary: BUG: 393141
+
+Test Plan:
+Tested building plasma-workspace, it was clearly faster (although it
+would have finished eventually)
+
+Reviewers: #frameworks, arojas, sitter
+
+Reviewed By: sitter
+
+Subscribers: sitter, heikobecker
+
+Tags: #frameworks
+
+Differential Revision: https://phabricator.kde.org/D12216
+---
+ cmake/build-pofiles.cmake | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/cmake/build-pofiles.cmake b/cmake/build-pofiles.cmake
+index d0991ad..b39be31 100644
+--- a/cmake/build-pofiles.cmake
++++ b/cmake/build-pofiles.cmake
+@@ -62,6 +62,7 @@ foreach(pofile IN LISTS pofiles)
+ if(i EQUAL ${numberOfProcesses})
+ _processCommands()
+ set(i 0)
++ set(commands)
+ endif()
+ endforeach()
+
+--
+cgit v0.11.2