summaryrefslogtreecommitdiff
path: root/kde-apps/kpimtextedit/files/kpimtextedit-21.12.3-speech-optional-2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kpimtextedit/files/kpimtextedit-21.12.3-speech-optional-2.patch')
-rw-r--r--kde-apps/kpimtextedit/files/kpimtextedit-21.12.3-speech-optional-2.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/kde-apps/kpimtextedit/files/kpimtextedit-21.12.3-speech-optional-2.patch b/kde-apps/kpimtextedit/files/kpimtextedit-21.12.3-speech-optional-2.patch
new file mode 100644
index 00000000000..a078840af05
--- /dev/null
+++ b/kde-apps/kpimtextedit/files/kpimtextedit-21.12.3-speech-optional-2.patch
@@ -0,0 +1,25 @@
+From 3596c0a90f590c409654a9aec2b087809cff0a79 Mon Sep 17 00:00:00 2001
+From: David Faure <faure@kde.org>
+Date: Tue, 28 Dec 2021 12:26:25 +0100
+Subject: [PATCH] Fix build without TextToSpeech available
+
+(the linking happens again further down, inside the if)
+---
+ src/CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 98e2854..a08978e 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -167,7 +167,6 @@ target_link_libraries(KF5PimTextEdit
+ KF5::XmlGui
+ KF5::I18n
+ KF5::SyntaxHighlighting
+- Qt::TextToSpeech
+ )
+ if (HAVE_TEXT_TO_SPEECH_SUPPORT)
+ target_link_libraries(KF5PimTextEdit
+--
+GitLab
+