texstudio/texstudio-use-system-hunspell-instead-of-bundled-one.patch

36 lines
825 B
Diff
Raw Normal View History

2016-05-30 20:04:29 +00:00
From 40c8d06b99065e79045ed0371b025c5ab7d6b065 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
2016-05-30 20:04:29 +00:00
Date: Mon, 30 May 2016 21:44:02 +0200
Subject: [PATCH] hunspell-patch
2011-08-13 16:45:40 +00:00
---
2016-05-30 20:04:29 +00:00
texstudio.pro | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
2011-08-13 16:45:40 +00:00
2013-11-02 07:44:06 +00:00
diff --git a/texstudio.pro b/texstudio.pro
2016-05-30 20:04:29 +00:00
index d479d11..5410558 100644
2013-11-04 19:51:30 +00:00
--- a/texstudio.pro
+++ b/texstudio.pro
2016-05-30 20:04:29 +00:00
@@ -480,7 +480,7 @@ unix {
2015-10-27 06:09:40 +00:00
2016-05-30 20:04:29 +00:00
isEmpty(USE_SYSTEM_HUNSPELL){
DEFINES += HUNSPELL_STATIC
- include(hunspell/hunspell.pri)
+ include(hunspell.pri)
} else {
CONFIG += link_pkgconfig
PKGCONFIG += hunspell
@@ -610,3 +610,9 @@ else {
2015-10-27 06:09:40 +00:00
QMAKE_LFLAGS -= -Wl,-s
QMAKE_LFLAGS_RELEASE -= -Wl,-s
}
2016-01-12 21:54:17 +00:00
+# enable use of pkgconfig
2016-05-30 20:04:29 +00:00
+unix {
+ CONFIG += link_pkgconfig
+ # use system hunspell
+ PKGCONFIG += hunspell
+}
2011-08-13 16:45:40 +00:00
--
2016-05-30 20:04:29 +00:00
2.5.5
2016-01-12 21:54:17 +00:00