diff -u -r -N aspell-0.60.5/Makefile.am aspell-0.60.5-patched/Makefile.am --- aspell-0.60.5/Makefile.am 2006-12-10 22:36:41.000000000 -0500 +++ aspell-0.60.5-patched/Makefile.am 2007-01-06 15:03:48.000000000 -0500 @@ -12,7 +12,7 @@ PERLPROG = @PERLPROG@ -AM_CPPFLAGS = -I${srcdir}/gen -I${srcdir}/common \ +AM_CPPFLAGS = -Igen -I${srcdir}/common \ -I${srcdir}/interfaces/cc/ -I${srcdir}/modules/speller/default/ SUFFIXES = .info @@ -112,9 +112,95 @@ endif -EXTRA_DIST += common/*.hpp common/*.h\ - modules/speller/default/*.hpp\ - lib/*.hpp +# expanded below: +# EXTRA_DIST += common/*.hpp common/*.h\ +# modules/speller/default/*.hpp\ +# lib/*.hpp + +EXTRA_DIST += \ + common/gettext.h \ + common/asc_ctype.hpp \ + common/basic_list.hpp \ + common/block_slist-t.hpp \ + common/block_slist.hpp \ + common/cache-t.hpp \ + common/cache.hpp \ + common/can_have_error.hpp \ + common/char_vector.hpp \ + common/clone_ptr-t.hpp \ + common/clone_ptr.hpp \ + common/config.hpp \ + common/convert.hpp \ + common/copy_ptr.hpp \ + common/document_checker.hpp \ + common/enumeration.hpp \ + common/error.hpp \ + common/errors.hpp \ + common/file_data_util.hpp \ + common/file_util.hpp \ + common/filter.hpp \ + common/filter_char.hpp \ + common/filter_char_vector.hpp \ + common/filter_debug.hpp \ + common/fstream.hpp \ + common/generic_copy_ptr-t.hpp \ + common/generic_copy_ptr.hpp \ + common/getdata.hpp \ + common/hash-t.hpp \ + common/hash.hpp \ + common/hash_fun.hpp \ + common/indiv_filter.hpp \ + common/info.hpp \ + common/iostream.hpp \ + common/istream.hpp \ + common/itemize.hpp \ + common/key_info.hpp \ + common/lock.hpp \ + common/lsort.hpp \ + common/mutable_container.hpp \ + common/mutable_string.hpp \ + common/objstack.hpp \ + common/ostream.hpp \ + common/parm_string.hpp \ + common/posib_err.hpp \ + common/simple_string.hpp \ + common/speller.hpp \ + common/stack_ptr.hpp \ + common/string.hpp \ + common/string_enumeration.hpp \ + common/string_list.hpp \ + common/string_map.hpp \ + common/string_pair.hpp \ + common/string_pair_enumeration.hpp \ + common/strtonum.hpp \ + common/tokenizer.hpp \ + common/type_id.hpp \ + common/vararray.hpp \ + common/vector.hpp \ + common/word_list.hpp \ + lib/filter_entry.hpp \ + modules/speller/default/affix.hpp \ + modules/speller/default/asuggest.hpp \ + modules/speller/default/block_vector.hpp \ + modules/speller/default/check_list.hpp \ + modules/speller/default/data.hpp \ + modules/speller/default/data_id.hpp \ + modules/speller/default/data_util.hpp \ + modules/speller/default/editdist.hpp \ + modules/speller/default/editdist2.hpp \ + modules/speller/default/language.hpp \ + modules/speller/default/leditdist.hpp \ + modules/speller/default/matrix.hpp \ + modules/speller/default/phonet.hpp \ + modules/speller/default/phonetic.hpp \ + modules/speller/default/primes.hpp \ + modules/speller/default/speller_impl.hpp \ + modules/speller/default/suggest.hpp \ + modules/speller/default/typo_editdist.hpp \ + modules/speller/default/vector_hash-t.hpp \ + modules/speller/default/vector_hash.hpp \ + modules/speller/default/weights.hpp \ + modules/speller/default/wordinfo.hpp ######################################################################## # @@ -133,7 +219,10 @@ prezip_bin_SOURCES = prog/prezip.c -EXTRA_DIST += prog/*.hpp +# EXTRA_DIST += prog/*.hpp +EXTRA_DIST += \ + prog/check_funs.hpp \ + prog/checker_string.hpp ######################################################################## # @@ -237,15 +326,18 @@ opt_DATA = $(dynamic_optfiles) filter_DATA = $(fltfiles) +PREPEND_SRCDIR_AWK = $(AWK) '{ ntoks=split($$0,toks); for(i=0;i dirs.h +gen/dirs.h: $(srcdir)/gen/mk-dirs_h.pl + ${PERLPROG} $(srcdir)/gen/mk-dirs_h.pl ${prefix} ${pkgdatadir} ${pkglibdir} ${sysconfdir} > $@ EXTRA_DIST += gen/mk-dirs_h.pl CLEANFILES += gen/dirs.h @@ -371,8 +463,41 @@ data/koi8-u.cmap data/koi8-u.cset \ data/dvorak.kbd data/split.kbd data/standard.kbd -EXTRA_DIST += config.rpath README ${pkgdata_DATA} m4/*.m4 \ +EXTRA_DIST += config.rpath README ${pkgdata_DATA} \ misc/po-filter.c +EXTRA_DIST += \ + m4/codeset.m4 \ + m4/gettext.m4 \ + m4/glibc2.m4 \ + m4/glibc21.m4 \ + m4/iconv.m4 \ + m4/intdiv0.m4 \ + m4/intl.m4 \ + m4/intldir.m4 \ + m4/intmax.m4 \ + m4/inttypes-h.m4 \ + m4/inttypes-pri.m4 \ + m4/inttypes_h.m4 \ + m4/lcmessage.m4 \ + m4/lib-ld.m4 \ + m4/lib-link.m4 \ + m4/lib-prefix.m4 \ + m4/lock.m4 \ + m4/longdouble.m4 \ + m4/longlong.m4 \ + m4/nls.m4 \ + m4/po.m4 \ + m4/printf-posix.m4 \ + m4/progtest.m4 \ + m4/signed.m4 \ + m4/size_max.m4 \ + m4/stdint_h.m4 \ + m4/uintmax_t.m4 \ + m4/ulonglong.m4 \ + m4/visibility.m4 \ + m4/wchar_t.m4 \ + m4/wint_t.m4 \ + m4/xsize.m4 README: manual/readme.texi makeinfo --no-validate --no-headers $< > README @@ -382,10 +507,17 @@ xargs grep -l "Automatically generated file." |\ xargs rm -dist-hook: - mkdir $(distdir)/maintainer - cp autogen config-opt config-debug TODO FIXMEs README-CVS \ - $(distdir)/maintainer +# dist-hook: +# mkdir $(distdir)/maintainer +# cp autogen config-opt config-debug TODO FIXMEs README-CVS \ +# $(distdir)/maintainer +EXTRA_DIST += \ + maintainer/FIXMEs \ + maintainer/README-CVS \ + maintainer/TODO \ + maintainer/autogen \ + maintainer/config-debug \ + maintainer/config-opt ACLOCAL_AMFLAGS = -I m4 diff -u -r -N aspell-0.60.5/common/string_map.cpp aspell-0.60.5-patched/common/string_map.cpp --- aspell-0.60.5/common/string_map.cpp 2006-01-22 08:04:46.000000000 -0500 +++ aspell-0.60.5-patched/common/string_map.cpp 2007-01-06 03:47:54.000000000 -0500 @@ -23,6 +23,8 @@ HashTable::insert(const StringPair &); template void HashTable::init(unsigned int); template void HashTable::del(void); + template HashTable::size_type + HashTable::erase(char const* const&); template void BlockSList::clear(void); void StringMap::copy(const StringMap & other) diff -u -r -N aspell-0.60.5/manual/Makefile.am aspell-0.60.5-patched/manual/Makefile.am --- aspell-0.60.5/manual/Makefile.am 2005-10-21 08:18:23.000000000 -0400 +++ aspell-0.60.5-patched/manual/Makefile.am 2007-01-06 15:36:23.000000000 -0500 @@ -4,7 +4,7 @@ MAKEINFOFLAGS = --enable-encoding aspell_TEXINFOS = readme.texi fdl.texi lgpl.texi \ - lang-supported.texi lang-unsupported.texi crubadan.texi + lang-supported.texi lang-unsupported.texi crubadan.texi oo-only.texi aspell_dev_TEXINFOS = mksrc.texi fdl.texi man_MANS = aspell.1 pspell-config.1 word-list-compress.1\ diff -u -r -N aspell-0.60.5/manual/oo-only.texi aspell-0.60.5-patched/manual/oo-only.texi --- aspell-0.60.5/manual/oo-only.texi 1969-12-31 19:00:00.000000000 -0500 +++ aspell-0.60.5-patched/manual/oo-only.texi 2007-01-06 15:35:19.000000000 -0500 @@ -0,0 +1,18 @@ address@hidden address@hidden Coptic (cop) address@hidden Fijian (fj) address@hidden Friulian (fur) address@hidden Dyula (dyu) address@hidden Fulah (ff) address@hidden Mossi (mos) address@hidden Nepali (ne) address@hidden South Ndebele (nr) address@hidden Northern Sotho (nso) address@hidden Swati (ss) address@hidden Southern Sotho (st) address@hidden Tsonga (ts) address@hidden Venda (ve) address@hidden Xhosa (xh) address@hidden Khmer (km) address@hidden Luxembourgish (lb) address@hidden itemize diff -u -r -N aspell-0.60.5/myspell/Makefile.am aspell-0.60.5-patched/myspell/Makefile.am --- aspell-0.60.5/myspell/Makefile.am 2007-01-06 15:50:45.000000000 -0500 +++ aspell-0.60.5-patched/myspell/Makefile.am 2007-01-06 14:52:55.000000000 -0500 @@ -2,5 +2,12 @@ munch_SOURCES = munch.c -EXTRA_DIST = README* en_US.aff *.h +# EXTRA_DIST = README* en_US.aff *.h +EXTRA_DIST = \ + README \ + README.munch \ + README.replacetable \ + README_en_US.txt \ + en_US.aff \ + munch.h