diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-30 02:55:18 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-07-30 08:57:05 +0000 |
commit | 253bd2ce409310b2e677e6eff117c08b547d3a3e (patch) | |
tree | 108cb4a89e4d1c454fb785eba209d966170f76fe /main/aspell | |
parent | 41680f61f0db5a634cbfee6cc6cca3c7f3605a44 (diff) | |
download | aports-253bd2ce409310b2e677e6eff117c08b547d3a3e.tar.bz2 aports-253bd2ce409310b2e677e6eff117c08b547d3a3e.tar.xz |
main/aspell: upgrade to 0.60.7
Diffstat (limited to 'main/aspell')
-rw-r--r-- | main/aspell/0001-Compile-Fixes-for-GCC-7.patch | 40 | ||||
-rw-r--r-- | main/aspell/APKBUILD | 21 |
2 files changed, 5 insertions, 56 deletions
diff --git a/main/aspell/0001-Compile-Fixes-for-GCC-7.patch b/main/aspell/0001-Compile-Fixes-for-GCC-7.patch deleted file mode 100644 index 892ce1136b..0000000000 --- a/main/aspell/0001-Compile-Fixes-for-GCC-7.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 8089fa02122fed0a6394eba14bbedcb1d18e2384 Mon Sep 17 00:00:00 2001 -From: Kevin Atkinson <kevina@gnu.org> -Date: Thu, 29 Dec 2016 00:50:31 -0500 -Subject: [PATCH] Compile Fixes for GCC 7. - -Closes #519. ---- - modules/filter/tex.cpp | 2 +- - prog/check_funs.cpp | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/modules/filter/tex.cpp b/modules/filter/tex.cpp -index a979539..19ab63c 100644 ---- a/modules/filter/tex.cpp -+++ b/modules/filter/tex.cpp -@@ -174,7 +174,7 @@ namespace { - - if (c == '{') { - -- if (top.in_what == Parm || top.in_what == Opt || top.do_check == '\0') -+ if (top.in_what == Parm || top.in_what == Opt || *top.do_check == '\0') - push_command(Parm); - - top.in_what = Parm; -diff --git a/prog/check_funs.cpp b/prog/check_funs.cpp -index db54f3d..89ee09d 100644 ---- a/prog/check_funs.cpp -+++ b/prog/check_funs.cpp -@@ -647,7 +647,7 @@ static void print_truncate(FILE * out, const char * word, int width) { - } - } - if (i == width-1) { -- if (word == '\0') -+ if (*word == '\0') - put(out,' '); - else if (word[len] == '\0') - put(out, word, len); --- -2.19.1 - diff --git a/main/aspell/APKBUILD b/main/aspell/APKBUILD index 208b251e7e..f9b37bc60e 100644 --- a/main/aspell/APKBUILD +++ b/main/aspell/APKBUILD @@ -1,31 +1,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Contributor: Valery Kartel <valery.kartel@gmail.com> pkgname=aspell -pkgver=0.60.6.1 -pkgrel=13 +pkgver=0.60.7 +pkgrel=0 pkgdesc="A spell checker designed to eventually replace Ispell" url="http://aspell.net/" arch="all" license="LGPL-2.0-or-later" subpackages="$pkgname-compat::noarch $pkgname-utils $pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs" -depends= depends_dev="$pkgname-utils" makedepends="ncurses-dev perl gettext-dev" -install= -source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz - 0001-Compile-Fixes-for-GCC-7.patch - " -builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$builddir" - default_prepare - update_config_sub -} +source="https://ftp.gnu.org/gnu/aspell/aspell-$pkgver.tar.gz" build() { cd "$builddir" + LDFLAGS="-lintl" \ ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -69,5 +59,4 @@ libs() { rm -fr "$pkgdir"/usr/lib } -sha512sums="f310c7590be98406589b5c26ca36a2ecfe4733f0b40fd6c176b96b7955ef2b5cd0ec9a3d770cf132146ae7a896042b4b698945112995ee1ae66adcfa5542247f aspell-0.60.6.1.tar.gz -05875eca05d3b5ba9b7577f193fd8b0a2a372b4392f7a7901aee250bacbde924622e27278dc50582be684ed5d289968a98ee70ae0d9f6cb44a50ed454805c58a 0001-Compile-Fixes-for-GCC-7.patch" +sha512sums="6f5fcd1c29164ee18f205594b66f382b51d19b17686293a931ca92c1442d3f7228627ca7d604d860551d0d367ac34dfb2ae34170a844f51e84e390fb1edc4535 aspell-0.60.7.tar.gz" |