summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-04-30 15:44:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-04-30 15:47:46 +0200
commit2c75b70399ad020780969fe01009d8f076d61325 (patch)
tree70b0ab20c1a9f9163e932198f91fb71d6dfb0626 /dev-libs
parentmedia-gfx/digikam: Fix build with GCC-13 (diff)
downloadgentoo-2c75b70399ad020780969fe01009d8f076d61325.tar.gz
gentoo-2c75b70399ad020780969fe01009d8f076d61325.tar.bz2
gentoo-2c75b70399ad020780969fe01009d8f076d61325.zip
dev-libs/ktextaddons: Fix build with USE=doc
Closes: https://bugs.gentoo.org/905361 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/ktextaddons/files/ktextaddons-1.3.0-fix-qch.patch27
-rw-r--r--dev-libs/ktextaddons/ktextaddons-1.3.0.ebuild2
2 files changed, 29 insertions, 0 deletions
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)