head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.2 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.5.0.66 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.64 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.62 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.60 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.58 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.56 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.54 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.52 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.50 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.48 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.46 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.44 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.42 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.40 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.38 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.36 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.34 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.32 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.30 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.28 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.26 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.24 pkgsrc-2008Q1:1.5.0.22 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.20 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.18 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.16 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.14 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.12 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.10 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.8 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.6 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.4 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.2 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.4 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.0.10 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.6 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.6 date 2013.04.24.02.20.37; author rodent; state dead; branches; next 1.5; 1.5 date 2005.07.07.12.42.20; author markd; state Exp; branches; next 1.4; 1.4 date 2005.03.24.17.08.02; author tv; state Exp; branches; next 1.3; 1.3 date 2004.12.01.12.18.21; author markd; state Exp; branches; next 1.2; 1.2 date 2004.03.19.06.20.21; author uebayasi; state Exp; branches; next 1.1; 1.1 date 2001.03.16.11.05.46; author wiz; state Exp; branches; next ; desc @@ 1.6 log @Moving ispell-* packages as discussed on tech-pkg@@. Reasons being: 1) Shorter package name; 2) Be consistent with kde3-l18n-*, kde4-l10n-*, hunspell-*, aspell-*, lang-* PKG_OPTIONS; 3) Simplify modifications to PKGNAME in some Makefiles; 4) Accordance with international language naming standards; and rename the ispell-base package to ispell, to be consistent with aspell and hunspell. Bump PKGREVISION where necessary. @ text @$NetBSD: patch-ak,v 1.5 2005/07/07 12:42:20 markd Exp $ --- term.c.orig 2005-04-15 11:11:36.000000000 +1200 +++ term.c @@@@ -86,7 +86,10 @@@@ static char Rcs_Id[] = #include "ispell.h" #include "proto.h" #include "msgs.h" -#ifdef USG +#if defined(__NetBSD__) || defined(linux) || defined(__sgi) || defined(__INTERIX) +#define USE_TERMIOS +#include +#elif defined(USG) #include #else #ifndef __DJGPP__ @@@@ -165,7 +168,10 @@@@ static int iputch (c) return putchar (c); } -#ifdef USG +#ifdef USE_TERMIOS +static struct termios sbuf; +static struct termios osbuf; +#elif defined(USG) static struct termio sbuf; static struct termio osbuf; #else @@@@ -292,8 +298,31 @@@@ retry: #endif +#ifdef USE_TERMIOS + if (!isatty (0)) + { + (void) fprintf (stderr, TERM_C_NO_BATCH); + exit (1); + } + tcgetattr(0, &osbuf); + termchanged = 1; + + sbuf = osbuf; + sbuf.c_lflag &= ~(ECHO | ECHOK | ECHONL | ICANON); + sbuf.c_oflag &= ~(OPOST); + sbuf.c_iflag &= ~(INLCR | IGNCR | ICRNL); + sbuf.c_lflag |= ISIG; + sbuf.c_cc[VMIN] = 1; + sbuf.c_cc[VTIME] = 0; + tcsetattr(0, TCSANOW, &sbuf); + + uerasechar = osbuf.c_cc[VERASE]; + ukillchar = osbuf.c_cc[VKILL]; + +#endif + #ifdef SIGTSTP -#ifndef USG +#if !(defined(USG) || defined(USE_TERMIOS)) (void) sigsetmask (1<<(SIGTSTP-1) | 1<<(SIGTTIN-1) | 1<<(SIGTTOU-1)); #endif #endif @@@@ -319,7 +348,7 @@@@ retry: #endif #endif -#ifndef USG +#if !(defined(USG) || defined(USE_TERMIOS)) (void) ioctl (0, TIOCGETP, (char *) &osbuf); #ifdef TIOCGLTC (void) ioctl (0, TIOCGLTC, (char *) &oltc); @@@@ -372,7 +401,9 @@@@ SIGNAL_TYPE done (signo) { if (te) tputs (te, 1, iputch); -#ifdef USG +#ifdef USE_TERMIOS + tcsetattr(0, TCSANOW, &osbuf); +#elif defined(USG) (void) ioctl (0, TCSETAW, (char *) &osbuf); #else (void) ioctl (0, TIOCSETP, (char *) &osbuf); @@@@ -393,7 +424,9 @@@@ static SIGNAL_TYPE onstop (signo) imove (li - 1, 0); if (te) tputs (te, 1, iputch); -#ifdef USG +#ifdef USE_TERMIOS + tcsetattr(0, TCSANOW, &osbuf); +#elif defined(USG) (void) ioctl (0, TCSETAW, (char *) &osbuf); #else (void) ioctl (0, TIOCSETP, (char *) &osbuf); @@@@ -412,7 +445,9 @@@@ static SIGNAL_TYPE onstop (signo) (void) signal (signo, onstop); if (termchanged) { -#ifdef USG +#ifdef USE_TERMIOS + tcsetattr(0, TCSANOW, &sbuf); +#elif defined(USG) (void) ioctl (0, TCSETAW, (char *) &sbuf); #else (void) ioctl (0, TIOCSETP, (char *) &sbuf); @@@@ -480,7 +515,9 @@@@ int shellescape (buf) } argv[i] = NULL; -#ifdef USG +#ifdef USE_TERMIOS + tcsetattr(0, TCSANOW, &osbuf); +#elif defined(USG) (void) ioctl (0, TCSETAW, (char *) &osbuf); #else (void) ioctl (0, TIOCSETP, (char *) &osbuf); @@@@ -526,7 +563,9 @@@@ int shellescape (buf) (void) signal (SIGTSTP, onstop); #endif -#ifdef USG +#ifdef USE_TERMIOS + tcsetattr(0, TCSANOW, &sbuf); +#elif defined(USG) (void) ioctl (0, TCSETAW, (char *) &sbuf); #else (void) ioctl (0, TIOCSETP, (char *) &sbuf); @@@@ -562,7 +601,9 @@@@ void shescape (buf) char curdir[MAXPATHLEN]; #endif -#ifdef USG +#ifdef USE_TERMIOS + tcsetattr(0, TCSANOW, &osbuf); +#elif defined(USG) (void) ioctl (0, TCSETAW, (char *) &osbuf); #else (void) ioctl (0, TIOCSETP, (char *) &osbuf); @@@@ -610,7 +651,9 @@@@ void shescape (buf) chdir (curdir); #endif -#ifdef USG +#ifdef USE_TERMIOS + tcsetattr(0, TCSANOW, &sbuf); +#elif defined(USG) (void) ioctl (0, TCSETAW, (char *) &sbuf); #else (void) ioctl (0, TIOCSETP, (char *) &sbuf); @ 1.5 log @Update ispell-base to 3.3.02 Ispell 3.3 offers improved support for international languages, improved deformatting, and better support for compilation on Windows systems. All known security holes have been closed. A number of small bugs are also fixed. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.4 2005/03/24 17:08:02 tv Exp $ @ 1.4 log @Fix build on Interix. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- term.c.orig 2001-07-25 17:51:46.000000000 -0400 d5 1 a5 1 @@@@ -80,7 +80,10 @@@@ static char Rcs_Id[] = d16 2 a17 2 #include @@@@ -151,7 +154,10 @@@@ static int putch (c) d29 1 a29 1 @@@@ -279,8 +285,31 @@@@ retry: d62 1 a62 1 @@@@ -306,7 +335,7 @@@@ retry: d71 1 a71 1 @@@@ -359,7 +388,9 @@@@ SIGNAL_TYPE done (signo) d74 1 a74 1 tputs (te, 1, putch); d82 4 a85 4 @@@@ -375,7 +406,9 @@@@ SIGNAL_TYPE done (signo) static SIGNAL_TYPE onstop (signo) int signo; { d90 1 a90 1 (void) ioctl (0, TCSETAW, (char *) &osbuf); d92 2 a93 4 (void) ioctl (0, TIOCSETP, (char *) &osbuf); @@@@ -390,7 +423,9 @@@@ static SIGNAL_TYPE onstop (signo) (void) kill (0, signo); /* stop here until continued */ d95 2 d99 1 a99 1 + tcsetattr(0, TCSANOW, &sbuf); d101 1 a101 1 (void) ioctl (0, TCSETAW, (char *) &sbuf); d103 2 a104 2 (void) ioctl (0, TIOCSETP, (char *) &sbuf); @@@@ -450,7 +485,9 @@@@ int shellescape (buf) d115 1 a115 1 @@@@ -496,7 +533,9 @@@@ int shellescape (buf) d126 2 a127 2 @@@@ -529,7 +568,9 @@@@ void shescape (buf) int ch; d137 2 a138 2 @@@@ -561,7 +602,9 @@@@ void shescape (buf) (void) signal (SIGTSTP, onstop); @ 1.3 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.2 2004/03/19 06:20:21 uebayasi Exp $ d3 1 a3 1 --- term.c.orig Wed Nov 2 19:44:28 1994 d5 1 a5 1 @@@@ -64,7 +64,10 @@@@ d10 1 a10 1 +#if defined(__NetBSD__) || defined(linux) || defined(__sgi) d17 1 a17 1 @@@@ -135,7 +138,10 @@@@ d29 1 a29 1 @@@@ -263,8 +269,31 @@@@ d62 1 a62 1 @@@@ -290,7 +319,7 @@@@ d71 1 a71 1 @@@@ -343,7 +372,9 @@@@ d82 1 a82 1 @@@@ -359,7 +390,9 @@@@ d93 1 a93 1 @@@@ -374,7 +407,9 @@@@ d104 1 a104 1 @@@@ -434,7 +469,9 @@@@ d115 1 a115 1 @@@@ -480,7 +517,9 @@@@ d126 1 a126 1 @@@@ -513,7 +552,9 @@@@ d137 1 a137 1 @@@@ -545,7 +586,9 @@@@ @ 1.2 log @Fix build on Linux (Red Hat 7.3). @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.1 2001/03/16 11:05:46 wiz Exp $ d10 1 a10 1 +#if defined(__NetBSD__) || defined(linux) @ 1.1 log @Use termios instead of TIOC{G,S}ETP, so that ispell works on machines without COMPAT_43 in the kernel. @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +#ifdef __NetBSD__ @