summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-11 18:24:14 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-11 18:24:14 +0000
commit0fc7b2fb803e36e84e647638d7afd2f63e458363 (patch)
treecc8e3fd3e7f74d4fdb434278600d42cbfb4afa00
parent44bb32822825933abfecac8aad940577dc53dcc3 (diff)
downloadpackages-0fc7b2fb803e36e84e647638d7afd2f63e458363.tar.gz
packages-0fc7b2fb803e36e84e647638d7afd2f63e458363.tar.bz2
packages-0fc7b2fb803e36e84e647638d7afd2f63e458363.tar.xz
packages-0fc7b2fb803e36e84e647638d7afd2f63e458363.zip
user/enchant: test suite requires UnitTest++
-rw-r--r--user/enchant/APKBUILD8
-rw-r--r--user/enchant/hunspell-build-fix.patch14
2 files changed, 3 insertions, 19 deletions
diff --git a/user/enchant/APKBUILD b/user/enchant/APKBUILD
index 6bc4c0a40..f2ddc1c65 100644
--- a/user/enchant/APKBUILD
+++ b/user/enchant/APKBUILD
@@ -8,10 +8,9 @@ arch="all"
license="LGPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
+checkdepends="aspell-dict-en unittest-cpp-dev"
makedepends="aspell-dev bash dbus-glib-dev file glib-dev hunspell-dev"
-checkdepends="aspell-dict-en"
-source="https://github.com/AbiWord/enchant/releases/download/v$pkgver/enchant-$pkgver.tar.gz
- hunspell-build-fix.patch"
+source="https://github.com/AbiWord/enchant/releases/download/v$pkgver/enchant-$pkgver.tar.gz"
build() {
CC="gcc" OBJC="gcc" ./configure \
@@ -30,5 +29,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="abde9d6fec25edff694570455fd4c6e8e2e2c41a6b133bbb31a344761137a354cc1c655e53374cf712bf311c3732dc721e9ffd2dc933d78ec8ccf224350635d6 enchant-2.2.3.tar.gz
-c0b7fd8fd00a81ea2c08ea7ce2bdffa826b5a3a0c06eacb818681f0f977d8e76c69f7938c10cdf71571cd1cbbf0e576d36fc74a41755fb570e047525195aeb99 hunspell-build-fix.patch"
+sha512sums="abde9d6fec25edff694570455fd4c6e8e2e2c41a6b133bbb31a344761137a354cc1c655e53374cf712bf311c3732dc721e9ffd2dc933d78ec8ccf224350635d6 enchant-2.2.3.tar.gz"
diff --git a/user/enchant/hunspell-build-fix.patch b/user/enchant/hunspell-build-fix.patch
deleted file mode 100644
index 0ecdb24b3..000000000
--- a/user/enchant/hunspell-build-fix.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ru enchant-1.6.0-orig/src/myspell/myspell_checker.cpp enchant-1.6.0/src/myspell/myspell_checker.cpp
---- enchant-1.6.0-orig/src/myspell/myspell_checker.cpp 2016-04-18 12:25:00.094614256 +0100
-+++ enchant-1.6.0/src/myspell/myspell_checker.cpp 2016-04-18 12:26:09.108569576 +0100
-@@ -148,6 +148,10 @@
- g_iconv_close(m_translate_out);
- }
-
-+#ifndef MAXWORDLEN
-+# define MAXWORDLEN 100
-+#endif
-+
- bool
- MySpellChecker::checkWord(const char *utf8Word, size_t len)
- {