Package: hunspell Version: 1.2.8-4 Severity: minor Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu karmic ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following: There are several instances of 'misspelled' being ironically misspelled as 'mispelled'. See downstream bug: https://bugs.launchpad.net/hunspell/+bug/134792 See upstream bug: http://sourceforge.net/tracker/index.php?func=detail&aid=2806689&group_id=143754&atid=756395 We thought you might be interested in doing the same. -- System Information: Debian Release: squeeze/sid APT prefers karmic-updates APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic') Architecture: i386 (i686) Kernel: Linux 2.6.30-9-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u hunspell-1.2.8/debian/patches/00list hunspell-1.2.8/debian/patches/00list --- hunspell-1.2.8/debian/patches/00list +++ hunspell-1.2.8/debian/patches/00list @@ -3,2 +3,3 @@ 16_1.2.4-2 +18_Spell_misspelled_correctly #99_build_stuff only in patch2: unchanged: --- hunspell-1.2.8.orig/debian/patches/18_Spell_misspelled_correctly.dpatch +++ hunspell-1.2.8/debian/patches/18_Spell_misspelled_correctly.dpatch @@ -0,0 +1,45 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 18_Spell_misspelled_correctly.dpatch by Nathan Handler <nathan.hand...@gmail.com> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix a few ironic misspellings of 'mispelled' + +# Ubuntu: https://bugs.launchpad.net/bugs/134792 +# Upstream: http://sourceforge.net/support/tracker.php?aid=2806689 +# Patch: http://sourceforge.net/tracker/download.php?group_id=143754&atid=756395&file_id=331078&aid=2806689 +# Description: Fix a few ironic misspellings of 'mispelled' + +...@dpatch@ +--- hunspell-1.2.4~/src/hunspell/suggestmgr.cxx 2008-06-17 03:57:54.000000000 -0500 ++++ hunspell-1.2.4/src/hunspell/suggestmgr.cxx 2008-07-07 15:50:44.000000000 -0500 +@@ -120,7 +120,7 @@ + return ns; + } + +-// generate suggestions for a mispelled word ++// generate suggestions for a misspelled word + // pass in address of array of char * pointers + // onlycompoundsug: probably bad suggestions (need for ngram sugs, too) + +--- hunspell-1.2.4~/src/tools/hunspell.cxx 2008-06-17 06:09:13.000000000 -0500 ++++ hunspell-1.2.4/src/tools/hunspell.cxx 2008-07-07 15:50:58.000000000 -0500 +@@ -1434,8 +1434,8 @@ + fprintf(stderr,gettext(" -h, --help\tdisplay this help and exit\n")); + fprintf(stderr,gettext(" -H\t\tHTML input file format\n")); + fprintf(stderr,gettext(" -i enc\tinput encoding\n")); +- fprintf(stderr,gettext(" -l\t\tprint mispelled words\n")); +- fprintf(stderr,gettext(" -L\t\tprint lines with mispelled words\n")); ++ fprintf(stderr,gettext(" -l\t\tprint misspelled words\n")); ++ fprintf(stderr,gettext(" -L\t\tprint lines with misspelled words\n")); + fprintf(stderr,gettext(" -m \t\tanalyze the words of the input text\n")); + fprintf(stderr,gettext(" -n\t\tnroff/troff input file format\n")); + fprintf(stderr,gettext(" -p dict\tset dict custom dictionary\n")); +@@ -1448,7 +1448,7 @@ + // fprintf(stderr,gettext(" -U\t\tautomatic correction of typical misspellings to stdout\n")); + fprintf(stderr,gettext(" -v, --version\tprint version number\n")); + fprintf(stderr,gettext(" -vv\t\tprint Ispell compatible version number\n")); +- fprintf(stderr,gettext(" -w\t\tprint mispelled words (= lines) from one word/line input.\n\n")); ++ fprintf(stderr,gettext(" -w\t\tprint misspelled words (= lines) from one word/line input.\n\n")); + fprintf(stderr,gettext("Example: hunspell -d en_US file.txt # interactive spelling\n" + " hunspell -l file.txt # print misspelled words\n" + " hunspell -i utf-8 file.txt # check UTF-8 encoded file\n\n"));