Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b8058416e78fed3d2b659c9f40a64b319b0eeaec
commit b8058416e78fed3d2b659c9f40a64b319b0eeaec Author: crazy <[email protected]> Date: Wed May 4 16:30:00 2016 +0200 enchant-1.6.0-6-x86_64 * rebuild with hunspell >= 1.4.1 * added patch to fix the build diff --git a/source/apps/enchant/FrugalBuild b/source/apps/enchant/FrugalBuild index f3da898..9a42d53 100644 --- a/source/apps/enchant/FrugalBuild +++ b/source/apps/enchant/FrugalBuild @@ -3,7 +3,7 @@ pkgname=enchant pkgver=1.6.0 -pkgrel=5 +pkgrel=6 pkgdesc="Generic spell checking library" url="http://www.abisource.com/enchant/" depends=('glib2>=2.22-7' 'libstdc++>=5.3.0-2') @@ -11,21 +11,23 @@ groups=('apps') license=('GPL2.1') archs=('i686' 'x86_64') up2date="lynx -dump http://www.abisource.com/projects/enchant/|grep tar.gz$|sed 's/.*-\(.*\)\.t.*/\1/'" -source=(http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz enchant.ordering) +source=(http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz \ + enchant.ordering hunspell-1.4.x.patch) sha1sums=('321f9cf0abfa1937401676ce60976d8779c39536' \ - '9e8694a69705a12ff2e94e60b8b4031a2c9a9f95') + '9e8694a69705a12ff2e94e60b8b4031a2c9a9f95' \ + 'aae62c8211dfa599610f7f3bcb489d7b287211b9') Fconfopts+=" --disable-ispell \ --with-myspell-dir=/usr/share/myspell \ --with-aspell-prefix=/usr \ --with-hspell-prefix=/usr" -subpkgs+=("$pkgname-myspell") -subdescs+=("myspell plugin for enchant") -subrodepends+=("$pkgname") -subdepends+=("hunspell>=1.3.3-3") -subarchs+=('i686 x86_64') -subgroups+=("apps-extra") +subpkgs=("$pkgname-myspell") +subdescs=("myspell plugin for enchant") +subrodepends=("$pkgname") +subdepends=("hunspell>=1.4.1") +subarchs=('i686 x86_64') +subgroups=("apps-extra") subpkgs+=("$pkgname-aspell") subdescs+=("aspell plugin for enchant") diff --git a/source/apps/enchant/hunspell-1.4.x.patch b/source/apps/enchant/hunspell-1.4.x.patch new file mode 100644 index 0000000..50734fe --- /dev/null +++ b/source/apps/enchant/hunspell-1.4.x.patch @@ -0,0 +1,16 @@ +diff -Naur enchant-1.6.0/src/myspell/myspell_checker.cpp enchant-1.6.0-p/src/myspell/myspell_checker.cpp +--- enchant-1.6.0/src/myspell/myspell_checker.cpp 2010-04-01 22:53:37.000000000 +0200 ++++ enchant-1.6.0-p/src/myspell/myspell_checker.cpp 2016-05-04 16:24:11.604863953 +0200 +@@ -50,6 +50,12 @@ + #include <hunspell/hunspell.hxx> + #endif + ++/* hunspell >=1.4.0 */ ++ ++#ifndef MAXWORDLEN ++# define MAXWORDLEN 100 ++#endif ++ + ENCHANT_PLUGIN_DECLARE("Myspell") + + #define G_ICONV_INVALID (GIConv)-1 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
