diff -u hunspell-1.2.4/debian/control hunspell-1.2.4/debian/control --- hunspell-1.2.4/debian/control +++ hunspell-1.2.4/debian/control @@ -1,6 +1,7 @@ Source: hunspell Priority: optional -Maintainer: Debian OpenOffice Team +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Debian OpenOffice Team Uploaders: Rene Engelhard , Chris Halls Build-Depends: debhelper (>= 4.0.0), libreadline5-dev, libncurses5-dev, libncursesw5-dev, dpatch, autotools-dev, autoconf, libtool, automake1.9 Standards-Version: 3.6.2 diff -u hunspell-1.2.4/debian/changelog hunspell-1.2.4/debian/changelog --- hunspell-1.2.4/debian/changelog +++ hunspell-1.2.4/debian/changelog @@ -1,3 +1,11 @@ +hunspell (1.2.4-2ubuntu1) intrepid; urgency=low + + * Added 18_Spell_misspelled_correctly.dpatch (LP: #134792) + * Modify Maintainer value to match the DebianMaintainerField + specification. + + -- Nathan Handler Mon, 07 Jul 2008 15:52:42 -0500 + hunspell (1.2.4-2) unstable; urgency=low * add gcc compiler fixes from upstreams 2.4.1-2 release. only in patch2: unchanged: --- hunspell-1.2.4.orig/debian/patches/18_Spell_misspelled_correctly.dpatch +++ hunspell-1.2.4/debian/patches/18_Spell_misspelled_correctly.dpatch @@ -0,0 +1,42 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 18_Spell_misspelled_correctly.dpatch by Nathan Handler +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad hunspell-1.2.4~/src/hunspell/suggestmgr.cxx hunspell-1.2.4/src/hunspell/suggestmgr.cxx +--- 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) + +diff -urNad hunspell-1.2.4~/src/tools/hunspell.cxx hunspell-1.2.4/src/tools/hunspell.cxx +--- 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"));