[arch-commits] Commit in tea/trunk (PKGBUILD hunspell15.patch)

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 27 14:42:28 UTC 2016


    Date: Sunday, November 27, 2016 @ 14:42:27
  Author: foutrelis
Revision: 197030

Fix build with Hunspell 1.5.0

Added:
  tea/trunk/hunspell15.patch
Modified:
  tea/trunk/PKGBUILD

------------------+
 PKGBUILD         |    3 +++
 hunspell15.patch |   12 ++++++++++++
 2 files changed, 15 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-27 14:22:29 UTC (rev 197029)
+++ PKGBUILD	2016-11-27 14:42:27 UTC (rev 197030)
@@ -15,13 +15,16 @@
 depends=('qt4' 'aspell' 'hunspell')
 install=tea.install
 source=(http://semiletov.org/tea/dloads/tea-$pkgver.tar.bz2
+        hunspell15.patch
         tea.desktop)
 md5sums=('6e994093c0ee4c8e91cff30e029ae2f1'
+         '546f36ff848a9c66fbbc8abe135d263e'
          '377ace3363124f4c086de0babb820761')
 
 prepare() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   sed -i 's|/usr/local|/usr|g' src.pro
+  patch -Np1 -i ../hunspell15.patch
 }
 
 build() {

Added: hunspell15.patch
===================================================================
--- hunspell15.patch	                        (rev 0)
+++ hunspell15.patch	2016-11-27 14:42:27 UTC (rev 197030)
@@ -0,0 +1,12 @@
+diff -uprw tea-43.1.0.orig/spellchecker.h tea-43.1.0/spellchecker.h
+--- tea-43.1.0.orig/spellchecker.h	2016-09-16 22:56:10.000000000 +0300
++++ tea-43.1.0/spellchecker.h	2016-11-27 16:39:56.471555601 +0200
+@@ -100,7 +100,7 @@ public:
+   QString user_dir;
+   QString lng;
+ 
+-  char *encoding;
++  const char *encoding;
+   QString dict_dir;
+   
+   CHunspellChecker (const QString &lang, const QString &path = "", const QString &user_path = "");



More information about the arch-commits mailing list