public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/ktextaddons/files/, dev-libs/ktextaddons/
@ 2023-04-30 13:48 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2023-04-30 13:48 UTC (permalink / raw
  To: gentoo-commits

commit:     2c75b70399ad020780969fe01009d8f076d61325
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 13:44:21 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 13:47:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c75b703

dev-libs/ktextaddons: Fix build with USE=doc

Closes: https://bugs.gentoo.org/905361
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/ktextaddons-1.3.0-fix-qch.patch          | 27 ++++++++++++++++++++++
 dev-libs/ktextaddons/ktextaddons-1.3.0.ebuild      |  2 ++
 2 files changed, 29 insertions(+)

diff --git a/dev-libs/ktextaddons/files/ktextaddons-1.3.0-fix-qch.patch b/dev-libs/ktextaddons/files/ktextaddons-1.3.0-fix-qch.patch
new file mode 100644
index 000000000000..7cf1a1ecea98
--- /dev/null
+++ b/dev-libs/ktextaddons/files/ktextaddons-1.3.0-fix-qch.patch
@@ -0,0 +1,27 @@
+From d87f5f136a7af6bbeb033cacbd97136d89a76b51 Mon Sep 17 00:00:00 2001
+From: Laurent Montel <montel@kde.org>
+Date: Thu, 27 Apr 2023 07:48:40 +0200
+Subject: [PATCH] Fix Bug 469020: Building with QCH=ON fails
+
+FIXED-IN: 1.3.1
+BUG: 469020
+---
+ textautocorrection/core/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/textautocorrection/core/CMakeLists.txt b/textautocorrection/core/CMakeLists.txt
+index 4c562d7..68d28fa 100644
+--- a/textautocorrection/core/CMakeLists.txt
++++ b/textautocorrection/core/CMakeLists.txt
+@@ -163,7 +163,7 @@ if (BUILD_QCH)
+         KF${KF_MAJOR_VERSION}TextAutoCorrectionCore_QCH
+         NAME KF${KF_MAJOR_VERSION}TextAutoCorrectionCore
+         BASE_NAME KF${KF_MAJOR_VERSION}TextAutoCorrectionCore
+-        VERSION ${TEXTAUTOCORRECTION_VERSION}
++	VERSION ${TEXTAUTOCORRECTIONCORE_VERSION}
+         ORG_DOMAIN org.kde
+         SOURCES # using only public headers, to cover only public API
+         ${TextAutoCorrectionCore_autocorrection_HEADERS}
+-- 
+GitLab
+

diff --git a/dev-libs/ktextaddons/ktextaddons-1.3.0.ebuild b/dev-libs/ktextaddons/ktextaddons-1.3.0.ebuild
index 30470e71e6e0..691becce3bfc 100644
--- a/dev-libs/ktextaddons/ktextaddons-1.3.0.ebuild
+++ b/dev-libs/ktextaddons/ktextaddons-1.3.0.ebuild
@@ -40,6 +40,8 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
+PATCHES=( "${FILESDIR}/${P}-fix-qch.patch" ) # bug 905361
+
 src_configure() {
 	local mycmakeargs=(
 		$(cmake_use_find_package speech Qt5TextToSpeech)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-30 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-30 13:48 [gentoo-commits] repo/gentoo:master commit in: dev-libs/ktextaddons/files/, dev-libs/ktextaddons/ Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox