diff options
author | markd <markd@pkgsrc.org> | 2004-12-01 12:18:21 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-12-01 12:18:21 +0000 |
commit | 00c4c219add6c7f5b12ba3a977d33c3fb09e4ad8 (patch) | |
tree | ec3f9a07315ee6b17df326d5ab7348b8240add9b /textproc/ispell-base/patches | |
parent | adc3c9b754dafec0e4eed61e6ba01c753577f007 (diff) | |
download | pkgsrc-00c4c219add6c7f5b12ba3a977d33c3fb09e4ad8.tar.gz |
Update ispell-base to 3.2.06 (only took 3 years :-)
Ispell 3.2 is primarily a bug-fix release, but a number of new
features are important to users:
- There is a new interactive mode. If ispell is invoked without
arguments, it will prompt for words and suggest corrections.
- The emacs interface (ispell.el and ispell.texinfo) is no
longer distributed with ispell. Use the code that comes with
emacs, or pick it up from:
ftp://kdstevens.com/pub/stevens/ispell.el.gz
or the matching ispell.el home page:
http://www.kdstevens.com/~stevens/ispell-page.html
- There is now an HTML mode. It is automatically selected for
files ending in ".html", ".htm", or ".shtml". It can also be
chosen manually with the -H switch.
- There is a new general-purpose deformatter switch, -F. This
switch, which was suggested by Ron Guilmette, allows an
external program to perform deformatting for ispell. The -F
switch opens the door to completely generalized spell checking
with ispell. Want to spell-check your C/C++ comments? A
simple deformatter filter will do the job. See the ispell
manual page for details.
- The annoying "TeX backslash bug" is now fixed correctly.
- TeX/LaTeX deformatting is now somewhat configurable. Check
out the -k switch and TEXSKIP1 in the manual page.
Also include the irix patches from PR pkg/26925 from Georg Schwarz.
Diffstat (limited to 'textproc/ispell-base/patches')
-rw-r--r-- | textproc/ispell-base/patches/patch-ab | 60 | ||||
-rw-r--r-- | textproc/ispell-base/patches/patch-ac | 29 | ||||
-rw-r--r-- | textproc/ispell-base/patches/patch-ad | 15 | ||||
-rw-r--r-- | textproc/ispell-base/patches/patch-ae | 11 | ||||
-rw-r--r-- | textproc/ispell-base/patches/patch-af | 20 | ||||
-rw-r--r-- | textproc/ispell-base/patches/patch-ag | 11 | ||||
-rw-r--r-- | textproc/ispell-base/patches/patch-ah | 11 | ||||
-rw-r--r-- | textproc/ispell-base/patches/patch-aj | 16 | ||||
-rw-r--r-- | textproc/ispell-base/patches/patch-ak | 4 | ||||
-rw-r--r-- | textproc/ispell-base/patches/patch-am | 10 | ||||
-rw-r--r-- | textproc/ispell-base/patches/patch-an | 13 |
11 files changed, 43 insertions, 157 deletions
diff --git a/textproc/ispell-base/patches/patch-ab b/textproc/ispell-base/patches/patch-ab index 5c88ad602f1..04a4240d288 100644 --- a/textproc/ispell-base/patches/patch-ab +++ b/textproc/ispell-base/patches/patch-ab @@ -1,63 +1,17 @@ -$NetBSD: patch-ab,v 1.2 2002/02/18 15:14:43 seb Exp $ +$NetBSD: patch-ab,v 1.3 2004/12/01 12:18:21 markd Exp $ ---- Makefile.orig Thu Oct 12 20:04:06 1995 +--- Makefile.orig 2001-07-26 09:51:45.000000000 +1200 +++ Makefile -@@ -240,31 +240,15 @@ - set $(SHELLDEBUG); \ - if [ -d $$TEXINFODIR -a -r ispell.info ]; then \ - set -ex; \ -- rm -f $$TEXINFODIR/ispell; \ -- $$INSTALL ispell.info $$TEXINFODIR/ispell; \ -- chmod 644 $$TEXINFODIR/ispell; \ -+ rm -f $$TEXINFODIR/ispell.info; \ -+ $$INSTALL ispell.info $$TEXINFODIR/ispell.info; \ -+ chmod 644 $$TEXINFODIR/ispell.info; \ - else \ - : ; \ - fi - @set +e; \ - . ./config.sh; \ - set $(SHELLDEBUG); \ -- if [ -d $$ELISPDIR ]; then \ -- set -ex; \ -- rm -f $$ELISPDIR/ispell.el; \ -- $$INSTALL ispell.el $$ELISPDIR; \ -- if sh iwhich $$EMACS >/dev/null; then \ -- echo '(byte-compile-file "'"$$ELISPDIR/ispell.el"'")' \ -- > /tmp/emi$$$$; \ -- $$EMACS -batch -l /tmp/emi$$$$; \ -- rm -f /tmp/emi$$$$; \ -- chmod 644 $$ELISPDIR/ispell.el $$ELISPDIR/ispell.elc; \ -- else \ -- chmod 644 $$ELISPDIR/ispell.el; \ -- fi; \ -- else \ -- : ; \ -- fi - - install-dictbuild: - @. ./config.sh; \ -@@ -323,8 +307,8 @@ - . ./config.sh; \ - set $(SHELLDEBUG); \ - if [ -d $$TEXINFODIR ]; then \ -- if sh iwhich makeinfo >/dev/null \ -- && makeinfo ispell.texinfo 2>/dev/null; then \ -+ if true >/dev/null \ -+ && $(MAKEINFO) --no-split --force ispell.texinfo 2>/dev/null; true; then \ - :; \ - elif sh iwhich $$EMACS >/dev/null; then \ - set -e; \ -@@ -508,7 +492,7 @@ - local.h: - set +e; [ -r local.h ] || cp local.h.samp local.h +@@ -486,7 +486,7 @@ local.h: + set +e; \ + [ -r local.h ] || (cp local.h.samp local.h; chmod u+w local.h) -msgs.h: config.sh FRC -+msgs.h: config.sh ++msgs.h: config.sh @. ./config.sh; \ set $(SHELLDEBUG); \ set +e; \ -@@ -522,7 +506,8 @@ +@@ -500,7 +500,8 @@ msgs.h: config.sh FRC else \ set -x; \ rm -f msgs.h; ln $$msgs msgs.h || cp $$msgs msgs.h; \ diff --git a/textproc/ispell-base/patches/patch-ac b/textproc/ispell-base/patches/patch-ac index a0f3dcc071f..8ecdeaeeeed 100644 --- a/textproc/ispell-base/patches/patch-ac +++ b/textproc/ispell-base/patches/patch-ac @@ -1,7 +1,8 @@ -$NetBSD: patch-ac,v 1.1.1.1 2001/03/14 12:10:22 agc Exp $ ---- ispell.h.orig Mon Oct 26 23:13:30 1998 -+++ ispell.h Mon Oct 26 23:16:48 1998 -@@ -90,6 +90,16 @@ +$NetBSD: patch-ac,v 1.2 2004/12/01 12:18:21 markd Exp $ + +--- ispell.h.orig 2001-07-26 09:51:46.000000000 +1200 ++++ ispell.h +@@ -136,6 +136,16 @@ #include <stdio.h> @@ -9,23 +10,23 @@ $NetBSD: patch-ac,v 1.1.1.1 2001/03/14 12:10:22 agc Exp $ +#include <inttypes.h> +#define PTRSIZE intptr_t +#else -+#define PTRSIZE int ++#define PTRSIZE unsigned int +#endif +#if !defined(HAVE_INTTYPES_H) && defined(__alpha) && defined(__NetBSD__) -+#define PTRSIZE long ++#define PTRSIZE unsigned long +#endif /* hack for 1.3 */ + #ifdef __STDC__ #define P(x) x #define VOID void -@@ -336,8 +346,8 @@ - short maxstringcharlen; /* Max strchr len supported */ - short compoundmin; /* Min lth of compound parts */ +@@ -372,8 +382,8 @@ struct hashheader + unsigned short maxstringcharlen; /* Max strchr len supported */ + unsigned short compoundmin; /* Min lth of compound parts */ short compoundbit; /* Flag 4 compounding roots */ -- int stringsize; /* Size of string table */ -- int lstringsize; /* Size of lang. str tbl */ +- unsigned int stringsize; /* Size of string table */ +- unsigned int lstringsize; /* Size of lang. str tbl */ + PTRSIZE stringsize; /* Size of string table */ + PTRSIZE lstringsize; /* Size of lang. str tbl */ - int tblsize; /* No. entries in hash tbl */ - int stblsize; /* No. entries in sfx tbl */ - int ptblsize; /* No. entries in pfx tbl */ + unsigned int tblsize; /* No. entries in hash tbl */ + unsigned int stblsize; /* No. entries in sfx tbl */ + unsigned int ptblsize; /* No. entries in pfx tbl */ diff --git a/textproc/ispell-base/patches/patch-ad b/textproc/ispell-base/patches/patch-ad index 39d44a490a8..64e9bc0a61b 100644 --- a/textproc/ispell-base/patches/patch-ad +++ b/textproc/ispell-base/patches/patch-ad @@ -1,16 +1,17 @@ -$NetBSD: patch-ad,v 1.1.1.1 2001/03/14 12:10:22 agc Exp $ ---- buildhash.c.orig Mon Jan 23 11:28:24 1995 -+++ buildhash.c Mon Oct 26 23:20:42 1998 -@@ -211,7 +211,7 @@ +$NetBSD: patch-ad,v 1.2 2004/12/01 12:18:21 markd Exp $ + +--- buildhash.c.orig 2001-07-26 09:51:45.000000000 +1200 ++++ buildhash.c +@@ -237,7 +237,7 @@ static void output () { register FILE * houtfile; register struct dent * dp; - int strptr; -+ PTRSIZE strptr; ++ PTRSIZE strptr; int n; - int i; + unsigned int i; int maxplen; -@@ -336,7 +336,7 @@ +@@ -362,7 +362,7 @@ static void output () { if (dp->next != 0) { diff --git a/textproc/ispell-base/patches/patch-ae b/textproc/ispell-base/patches/patch-ae index 4a7c544a151..c8aecbf6779 100644 --- a/textproc/ispell-base/patches/patch-ae +++ b/textproc/ispell-base/patches/patch-ae @@ -1,8 +1,9 @@ -$NetBSD: patch-ae,v 1.1.1.1 2001/03/14 12:10:22 agc Exp $ ---- lookup.c.orig Mon Oct 26 23:24:20 1998 -+++ lookup.c Mon Oct 26 23:25:41 1998 -@@ -212,22 +212,22 @@ - if (dp->word == (char *) -1) +$NetBSD: patch-ae,v 1.2 2004/12/01 12:18:21 markd Exp $ + +--- lookup.c.orig 2001-07-26 09:51:46.000000000 +1200 ++++ lookup.c +@@ -243,22 +243,22 @@ int linit () + if (dp->word == (unsigned char *) -1) dp->word = NULL; else - dp->word = &hashstrings [ (int)(dp->word) ]; diff --git a/textproc/ispell-base/patches/patch-af b/textproc/ispell-base/patches/patch-af deleted file mode 100644 index 4b963da5077..00000000000 --- a/textproc/ispell-base/patches/patch-af +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-af,v 1.1.1.1 2001/03/14 12:10:22 agc Exp $ ---- fields.c.orig Mon Oct 26 23:27:45 1998 -+++ fields.c Mon Oct 26 23:31:02 1998 -@@ -32,6 +32,7 @@ - */ - - #include <stdio.h> -+#include <string.h> - #include "config.h" - #include "fields.h" - -@@ -62,7 +63,7 @@ - extern char * malloc (); - extern char * realloc (); - extern char * strchr (); --extern int strlen (); -+/* extern int strlen ();*/ - - /* - * Read one line of the given file into a buffer, break it up into diff --git a/textproc/ispell-base/patches/patch-ag b/textproc/ispell-base/patches/patch-ag deleted file mode 100644 index 72170f461e8..00000000000 --- a/textproc/ispell-base/patches/patch-ag +++ /dev/null @@ -1,11 +0,0 @@ -$NetBSD: patch-ag,v 1.1.1.1 2001/03/14 12:10:22 agc Exp $ ---- sq.c.orig Mon Oct 26 23:28:32 1998 -+++ sq.c Mon Oct 26 23:28:58 1998 -@@ -49,6 +49,7 @@ - */ - - #include <stdio.h> -+#include <string.h> - - #ifdef __STDC__ - #define P(x) x diff --git a/textproc/ispell-base/patches/patch-ah b/textproc/ispell-base/patches/patch-ah deleted file mode 100644 index 29c240f8509..00000000000 --- a/textproc/ispell-base/patches/patch-ah +++ /dev/null @@ -1,11 +0,0 @@ -$NetBSD: patch-ah,v 1.1.1.1 2001/03/14 12:10:22 agc Exp $ ---- unsq.c.orig Mon Oct 26 23:28:34 1998 -+++ unsq.c Mon Oct 26 23:29:08 1998 -@@ -49,6 +49,7 @@ - */ - - #include <stdio.h> -+#include <string.h> - #include "msgs.h" - - #ifdef __STDC__ diff --git a/textproc/ispell-base/patches/patch-aj b/textproc/ispell-base/patches/patch-aj deleted file mode 100644 index 413d41f4f09..00000000000 --- a/textproc/ispell-base/patches/patch-aj +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-aj,v 1.1.1.1 2001/03/14 12:10:22 agc Exp $ - ---- ispell.texinfo-orig Wed Nov 2 19:44:23 1994 -+++ ispell.texinfo Sun Dec 20 23:22:20 1998 -@@ -4,6 +4,11 @@ - @settitle ISPELL V3.1 - @comment %**end of header (This is for running Texinfo on a region.) - -+@dircategory Miscellaneous -+@direntry -+* ISPELL: (ispell). An interactive spelling corrector. -+@end direntry -+ - @iftex - @finalout - @end iftex diff --git a/textproc/ispell-base/patches/patch-ak b/textproc/ispell-base/patches/patch-ak index 1a58edef2af..731c1248a6a 100644 --- a/textproc/ispell-base/patches/patch-ak +++ b/textproc/ispell-base/patches/patch-ak @@ -1,4 +1,4 @@ -$NetBSD: patch-ak,v 1.2 2004/03/19 06:20:21 uebayasi Exp $ +$NetBSD: patch-ak,v 1.3 2004/12/01 12:18:21 markd Exp $ --- term.c.orig Wed Nov 2 19:44:28 1994 +++ term.c @@ -7,7 +7,7 @@ $NetBSD: patch-ak,v 1.2 2004/03/19 06:20:21 uebayasi Exp $ #include "proto.h" #include "msgs.h" -#ifdef USG -+#if defined(__NetBSD__) || defined(linux) ++#if defined(__NetBSD__) || defined(linux) || defined(__sgi) +#define USE_TERMIOS +#include <termios.h> +#elif defined(USG) diff --git a/textproc/ispell-base/patches/patch-am b/textproc/ispell-base/patches/patch-am index 23562fe7dff..2e65450946a 100644 --- a/textproc/ispell-base/patches/patch-am +++ b/textproc/ispell-base/patches/patch-am @@ -1,8 +1,8 @@ -$NetBSD: patch-am,v 1.2 2002/08/25 21:51:17 jlam Exp $ +$NetBSD: patch-am,v 1.3 2004/12/01 12:18:21 markd Exp $ ---- munchlist.X.orig Fri Jul 19 21:47:10 2002 -+++ munchlist.X Fri Jul 19 21:48:24 2002 -@@ -128,7 +128,7 @@ +--- munchlist.X.orig 2001-07-26 09:51:46.000000000 +1200 ++++ munchlist.X +@@ -160,7 +160,7 @@ then set -vx fi LIBDIR=!!LIBDIR!! @@ -10,4 +10,4 @@ $NetBSD: patch-am,v 1.2 2002/08/25 21:51:17 jlam Exp $ +TDIR=${TMPDIR-/tmp} TMP=${TDIR}/munch$$ SORTTMP="-T ${TDIR}" # !!SORTTMP!! - if [ -r ./icombine ] + diff --git a/textproc/ispell-base/patches/patch-an b/textproc/ispell-base/patches/patch-an deleted file mode 100644 index 2737617d80e..00000000000 --- a/textproc/ispell-base/patches/patch-an +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-an,v 1.2 2002/08/25 21:51:18 jlam Exp $ - ---- splitdict.orig Fri Jul 19 21:49:28 2002 -+++ splitdict Fri Jul 19 21:48:33 2002 -@@ -51,7 +51,7 @@ - # Get rid of all old RCS log lines in preparation for the 3.1 release. - # - # --TMP=${TMPDIR:-/usr/tmp}/sd$$ -+TMP=${TMPDIR:-/tmp}/sd$$ - - case "$#" in - 3) |