aspell: bump version (#4941)

This commit is contained in:
Panagiotis Vasilopoulos
2020-05-10 00:19:30 +03:00
committed by GitHub
parent 7823f3d9af
commit b599216dea
2 changed files with 3 additions and 39 deletions

View File

@@ -4,7 +4,7 @@ eventually replace Ispell. It can either be used as a library or as an \
independent spell checker. Its main feature is that it does a superior job of \
suggesting possible replacements for a misspelled word than just about any \
other spell checker out there for the English language. Unlike Ispell, Aspell \
can also \easily check documents in UTF-8 without having to use a special \
can also easily check documents in UTF-8 without having to use a special \
dictionary. Aspell will also do its best to respect the current locale \
setting. Other advantages over Ispell include support for using multiple \
dictionaries at once and intelligently handling personal dictionaries when \
@@ -12,11 +12,10 @@ more than one Aspell process is open at once."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2000-2006 Kevin Atkinson"
LICENSE="GNU LGPL v2"
REVISION="5"
REVISION="1"
SOURCE_URI="https://ftpmirror.gnu.org/aspell/aspell-$portVersion.tar.gz
https://ftp.gnu.org/gnu/aspell/aspell-$portVersion.tar.gz"
CHECKSUM_SHA256="f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1"
PATCHES="aspell-$portVersion.patchset"
CHECKSUM_SHA256="f9b77e515334a751b2e60daab5db23499e26c9209f5e7b7443b05235ad0226f2"
ARCHITECTURES="x86 x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"

View File

@@ -1,35 +0,0 @@
From c09a03b927daa852d0f89f6577318716a6f75b42 Mon Sep 17 00:00:00 2001
From: Peter Kosyh <p.kosyh@gmail.com>
Date: Sat, 27 Oct 2018 08:25:00 +0300
Subject: gcc7 compilation fix
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