aspell: update to 0.60.7

This commit is contained in:
Paper Mountain Studio 2019-07-30 19:09:32 +02:00 committed by Helmut Pozimski
parent 01fb062abc
commit 3d843e1dd7
2 changed files with 6 additions and 30 deletions

View file

@ -1,25 +0,0 @@
Fix comparisons of const char* agains '\0' where obviously
the first character of the array was meant to be checked.
--- prog/check_funs.cpp 2011-07-04 11:17:27.000000000 +0200
+++ prog/check_funs.cpp 2017-07-23 17:37:57.880903979 +0200
@@ -647,7 +647,7 @@
}
}
if (i == width-1) {
- if (word == '\0')
+ if (*word == '\0')
put(out,' ');
else if (word[len] == '\0')
put(out, word, len);
--- modules/filter/tex.cpp 2011-07-02 23:09:09.000000000 +0200
+++ modules/filter/tex.cpp 2017-07-23 17:40:05.089075293 +0200
@@ -174,7 +174,7 @@
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;

View file

@ -1,18 +1,19 @@
# Template file for 'aspell'
pkgname=aspell
version=0.60.6.1
revision=10
version=0.60.7
revision=1
build_style=gnu-configure
configure_args="--enable-compile-in-filters"
hostmakedepends="automake libtool gettext-devel perl"
makedepends="ncurses-devel"
depends="perl"
short_desc="Spell checker with good multi-language support"
homepage="http://aspell.net/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1"
homepage="http://aspell.net/"
changelog="http://aspell.net/man-html/ChangeLog.html"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1
checksum=5ca8fc8cb0370cc6c9eb5b64c6d1bc5d57b3750dbf17887726c3407d833b70e4
pre_configure() {
# XXX workaround ctor/dtor ordering with musl