nuspell: update to 3.1.2.

- Internal refactorings that reduce function templates in `utils` and `finder`.

- File `utils.hxx` is not installed any more. It is a private header.

- Some functions for searching dictionaries in class `Finder` are deprecated as
  they were searching in directories that no longer contain dictionaries.

- Updated description in README. Packagers are encouraged to update it in their
  packages.
- Moved Hunspell files from the directory "src" into the directory named
  "external" to clarify that it is third-party dependency. Previously, some
  packagers confused Hunspell's license notices as part of Nuspell. Hunspell is
  used only for testing and it is not part of the main program.

- Fixed bugs on FreeBSD and other BSDs related to encoding conversions. Now
  all tests pass on FreeBSD and the support for it is not experimental anymore.
- Fixed compiling on NetBSD.
This commit is contained in:
Thomas Klausner 2020-08-24 10:23:31 +02:00
parent c12a29a3cc
commit e7294d986b
4 changed files with 5 additions and 20 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD$
DISTNAME= nuspell-3.1.0
DISTNAME= nuspell-3.1.2
CATEGORIES= textproc wip
MASTER_SITES= ${MASTER_SITE_GITHUB:=nuspell/}
GITHUB_TAG= v${PKGVERSION_NOREV}

View File

@ -4,7 +4,6 @@ include/nuspell/aff_data.hxx
include/nuspell/dictionary.hxx
include/nuspell/finder.hxx
include/nuspell/structures.hxx
include/nuspell/utils.hxx
lib/cmake/nuspell/NuspellConfig.cmake
lib/cmake/nuspell/NuspellConfigVersion.cmake
lib/cmake/nuspell/NuspellTargets-release.cmake

View File

@ -1,7 +1,6 @@
$NetBSD$
SHA1 (nuspell-3.1.0.tar.gz) = 1ab32d19d60b936c04e789562c333cfbafdfd2de
RMD160 (nuspell-3.1.0.tar.gz) = 71c061e71ae5387bacdd4d90425863fc816fb6ee
SHA512 (nuspell-3.1.0.tar.gz) = a9bedfd6e2d77fd34d249cf7aa1fcb6bde5bced26f02f8a2dd860416a61488c9b7016a0df6015052fcccb272b342e6205db601107f46efa44c9d78ce261a826c
Size (nuspell-3.1.0.tar.gz) = 407196 bytes
SHA1 (patch-src_nuspell_utils.hxx) = b5b4f5819cb98c6ec827f02f24755fd0a6de9edf
SHA1 (nuspell-3.1.2.tar.gz) = b6ff194a0a501ff3f6d964c39cb4d084c58b1bea
RMD160 (nuspell-3.1.2.tar.gz) = b0bf7d83ee00cb01c61c9064bf6e7419c6252a11
SHA512 (nuspell-3.1.2.tar.gz) = ed5206cb9ffa7e4ec6843988a75627d4ae7d5170444b6e7bd3496c1bf61c25412c4e68864800f2ad238d014b4e50d25282f367de2900f8a230f3ecc9ae5772be
Size (nuspell-3.1.2.tar.gz) = 379029 bytes

View File

@ -1,13 +0,0 @@
$NetBSD$
--- src/nuspell/utils.hxx.orig 2019-11-23 18:52:51.000000000 +0000
+++ src/nuspell/utils.hxx
@@ -111,7 +111,7 @@ class Encoding_Converter {
};
//#if _POSIX_VERSION >= 200809L
-#ifdef _POSIX_VERSION
+#if defined(_POSIX_VERSION) && !defined(__NetBSD__)
class Setlocale_To_C_In_Scope {
locale_t old_loc = nullptr;