6041ab3
From 40c8d06b99065e79045ed0371b025c5ab7d6b065 Mon Sep 17 00:00:00 2001
0cfe294
From: hannes <hannes@fedoraproject.org>
6041ab3
Date: Mon, 30 May 2016 21:44:02 +0200
6041ab3
Subject: [PATCH] hunspell-patch
johannes lips b146856
johannes lips b146856
---
6041ab3
 texstudio.pro | 8 +++++++-
6041ab3
 1 file changed, 7 insertions(+), 1 deletion(-)
johannes lips b146856
33d44b1
diff --git a/texstudio.pro b/texstudio.pro
6041ab3
index d479d11..5410558 100644
ccd6cf0
--- a/texstudio.pro
ccd6cf0
+++ b/texstudio.pro
6041ab3
@@ -480,7 +480,7 @@ unix {
951f9a2
 
6041ab3
 isEmpty(USE_SYSTEM_HUNSPELL){
6041ab3
   DEFINES += HUNSPELL_STATIC
6041ab3
-  include(hunspell/hunspell.pri)
6041ab3
+  include(hunspell.pri)
6041ab3
 } else {
6041ab3
   CONFIG += link_pkgconfig
6041ab3
   PKGCONFIG += hunspell
6041ab3
@@ -610,3 +610,9 @@ else {
951f9a2
   QMAKE_LFLAGS -= -Wl,-s
951f9a2
   QMAKE_LFLAGS_RELEASE -= -Wl,-s
951f9a2
 }
ca7f471
+# enable use of pkgconfig

6041ab3
+unix {

6041ab3
+	CONFIG	+= link_pkgconfig

6041ab3
+	# use system hunspell

6041ab3
+	PKGCONFIG += hunspell

6041ab3
+}

johannes lips b146856
-- 
6041ab3
2.5.5
ca7f471