commit:     d9d1e485da211521ca43f74198d10a6ddc999b50
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 20 22:08:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 22:09:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d1e485

kde-frameworks/ktexttemplate: workaround GCC bug for arm64

Bug: https://gcc.gnu.org/PR116783
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...{ktexttemplate-6.5.0.ebuild => ktexttemplate-6.5.0-r1.ebuild} | 9 ++++++++-
 ...{ktexttemplate-6.6.0.ebuild => ktexttemplate-6.6.0-r1.ebuild} | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/ktexttemplate/ktexttemplate-6.5.0.ebuild 
b/kde-frameworks/ktexttemplate/ktexttemplate-6.5.0-r1.ebuild
similarity index 71%
rename from kde-frameworks/ktexttemplate/ktexttemplate-6.5.0.ebuild
rename to kde-frameworks/ktexttemplate/ktexttemplate-6.5.0-r1.ebuild
index a468032b52b3..92a7f50783d0 100644
--- a/kde-frameworks/ktexttemplate/ktexttemplate-6.5.0.ebuild
+++ b/kde-frameworks/ktexttemplate/ktexttemplate-6.5.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 ECM_TEST="true"
 PVCUT=$(ver_cut 1-2)
 QTMIN=6.6.2
-inherit ecm frameworks.kde.org
+inherit ecm flag-o-matic frameworks.kde.org
 
 DESCRIPTION="Library to allow separating the structure of documents from data 
they contain"
 
@@ -20,3 +20,10 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="test? ( dev-qt/qttools:6[linguist] )"
+
+src_configure() {
+       # https://gcc.gnu.org/PR116783
+       use arm64 && append-flags $(test-flags-CXX -mno-late-ldp-fusion)
+
+       ecm_src_configure
+}

diff --git a/kde-frameworks/ktexttemplate/ktexttemplate-6.6.0.ebuild 
b/kde-frameworks/ktexttemplate/ktexttemplate-6.6.0-r1.ebuild
similarity index 71%
rename from kde-frameworks/ktexttemplate/ktexttemplate-6.6.0.ebuild
rename to kde-frameworks/ktexttemplate/ktexttemplate-6.6.0-r1.ebuild
index b263f3a5bf2c..dfea9e5b3516 100644
--- a/kde-frameworks/ktexttemplate/ktexttemplate-6.6.0.ebuild
+++ b/kde-frameworks/ktexttemplate/ktexttemplate-6.6.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 ECM_TEST="true"
 PVCUT=$(ver_cut 1-2)
 QTMIN=6.6.2
-inherit ecm frameworks.kde.org
+inherit ecm flag-o-matic frameworks.kde.org
 
 DESCRIPTION="Library to allow separating the structure of documents from data 
they contain"
 
@@ -20,3 +20,10 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="test? ( dev-qt/qttools:6[linguist] )"
+
+src_configure() {
+       # https://gcc.gnu.org/PR116783
+       use arm64 && append-flags $(test-flags-CXX -mno-late-ldp-fusion)
+
+       ecm_src_configure
+}

Reply via email to