head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.160 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.158 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.156 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.154 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.152 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.150 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.148 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.146 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.144 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.142 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.140 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.138 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.136 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.134 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.132 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.130 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.128 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.126 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.124 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.122 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.120 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.118 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.116 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.112 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.92 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.114 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.110 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.108 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.106 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.104 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.102 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.100 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.98 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.96 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.94 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.90 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.88 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.86 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.84 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.82 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.80 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.78 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.76 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.74 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.72 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.70 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.68 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.66 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.64 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.62 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.60 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.58 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.56 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.54 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.52 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.50 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.48 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.46 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.44 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.42 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.40 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.38 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.36 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.34 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.32 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.30 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.28 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.26 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.24 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.22 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.20 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.18 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.16 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.14 pkgsrc-2008Q1:1.3.0.12 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.10 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.8 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.6 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.4 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.2 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.2.0.14 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.12 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.10 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.8 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.6 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.1.0.4 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.2 pkgsrc-2004Q3-base:1.1; locks; strict; comment @# @; 1.3 date 2006.10.01.08.52.01; author schwarz; state Exp; branches; next 1.2; 1.2 date 2004.12.24.02.55.53; author wiz; state dead; branches; next 1.1; 1.1 date 2004.07.24.19.05.37; author salo; state Exp; branches; next ; desc @@ 1.3 log @ added support for IRIX 5 @ text @$NetBSD$ --- modules/speller/default/language.cpp.orig 2006-09-17 23:54:51.000000000 +0200 +++ modules/speller/default/language.cpp 2006-09-17 23:55:57.000000000 +0200 @@@@ -26,6 +26,10 @@@@ #include "gettext.h" +#ifdef DECLARE_SNPRINTF +int snprintf(char *str, size_t size, const char *format, ...); +#endif + namespace aspeller { static const char TO_CHAR_TYPE[256] = { @ 1.2 log @Update to 0.60.2. New in 0.60.2: * Added the `munch-list' command to the aspell utility. The `munch' program in the `myspell/' directory will disappear in Aspell 0.61. The `munchlist' script will also likely disappear or be replaced when Aspell 0.61 is released since it doesn't work correctly anyway. * Several important bug fixes some of which rendered some non-English languages unusable. * Other minor changes. New in 0.60.1.1: * Fix bug involving checking of capitalized word when affix compression is used. * Compile fixes. * Added an option to disable using the "wide" curses version in case it causes compile problems. * Minor manual updates * Avoided including some unnecessary files in the distribution. New in 0.60.1: * Lots of compile fixes for various platforms. * Miscellaneous bug fixes. * Added Nroff filter thanks to Sergey Poznyakoff. * The default filter mode when in pipe mode is now nroff for compatibility with Ispell. * Added Texinfo filter. * Added a section detailing the differences between Ispell and Aspell. * Updated the section on thread safety. * Other miscellaneous manual changes such as updating the To Do and Authors section. Changes since 0.50.5: * Added support for Affix Compression. Affix compression stores the root word and then a list of prefixes and suffixes that the word can take, and thus saves a lot of space. The codebase comes from MySpell found in OpenOffice. It uses the same affix file that OpenOffice (and Mozilla) use. Affix compression will even work with soundslike lookup to a limited extent. * Added support for accepting all input and printing all output in UTF-8 or some other encoding different from the one Aspell uses. This includes support for Unicode normalization. Aspell can now support any language with no more than 210 distinct characters, including different capitalizations and accents, _even if_ there is not an existing 8-bit encoding that supports the language. * Added support for loadable filters and customizable filter modes thanks to Christoph Hintermüller. * Enhanced SGML filter to also support skipping sgml tags such as "script" blocks thanks to Tom Snyder. * Added gettext support thanks to Sergey Poznyakoff * Reworked the compiled dictionary format. Compiled dictionaries now take up less space (less than 80% for the English language) and creating them is significantly faster (over 4 times for the English language). * Reworked suggestion code. It is significantly faster when dealing with short words (up to 10 times). Also added support for MySpell Replacement Tables and n-gram lookup. In addition, added basic support for compound words. * Manual has has been converted to texinfo format thanks to the work of Chris Martin. * Reworked the build system so that a single Makefile is used for most of the code. * All data, by default, is now included in `LIBDIR/aspell-0.60'. Also added a built time option to increment the major version number of the shared library. This should allow both Aspell version 0.50 and 0.60 to coexist. The major version number is _not_ incremented by default as Aspell 0.60 is binary compatible with Aspell 0.50. NOTE: this is not true for pkgsrc. * The code to handle dictionaries has been rewritten. Because of this support for the dictionary option `strip-accents' has been removed. In addition the `ignore-accents' option is currently unimplemented. * Lots of other minor changes due to massive overhaul of the source code. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2004/07/24 19:05:37 salo Exp $ d3 8 a10 12 --- prog/aspell.cpp.orig Sat Jul 24 19:56:05 2004 +++ prog/aspell.cpp Sat Jul 24 20:24:15 2004 @@@@ -619,7 +619,13 @@@@ << ":"; AspellStringEnumeration * els = aspell_word_list_elements(suggestions); +#ifndef __SUNPRO_CC if (options->retrieve_bool("reverse")) { +#else + bool bool_op; + bool_op = options->retrieve_bool("reverse"); + if (bool_op) { d12 4 a15 3 Vector sugs; sugs.reserve(aspell_word_list_size(suggestions)); while ( ( w = aspell_string_enumeration_next(els)) != 0) @ 1.1 log @Make it compile with SunPro C++ @ text @d1 1 a1 1 $NetBSD$ @