aboutsummaryrefslogtreecommitdiff
path: root/textproc/ispell
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-12-17 11:32:06 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-12-17 11:32:06 +0000
commitf8b5b7e6fe9d0c04cd0ce84010b0657a862989b8 (patch)
tree94cd97ebb531ab11ba8a4d605b9786b5e6feb46f /textproc/ispell
parentbf5342d0cba88a2e4087afa4017102b20b2e2826 (diff)
Notes
Diffstat (limited to 'textproc/ispell')
-rw-r--r--textproc/ispell/Makefile2
-rw-r--r--textproc/ispell/files/patch-ispell.c20
2 files changed, 14 insertions, 8 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile
index 8ab39e07953a..34a9bec20bbd 100644
--- a/textproc/ispell/Makefile
+++ b/textproc/ispell/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= ispell
PORTVERSION?= 3.2.06
-PORTREVISION?= 13
+PORTREVISION?= 14
CATEGORIES+= textproc
MASTER_SITES= http://fmg-www.cs.ucla.edu/geoff/tars/ \
http://distfiles.opendarwin.org/
diff --git a/textproc/ispell/files/patch-ispell.c b/textproc/ispell/files/patch-ispell.c
index 24dc68cb1712..54f5ce596c28 100644
--- a/textproc/ispell/files/patch-ispell.c
+++ b/textproc/ispell/files/patch-ispell.c
@@ -1,5 +1,5 @@
---- ispell.c.orig Wed Jul 25 17:51:46 2001
-+++ ispell.c Sat Feb 22 14:24:29 2003
+--- ispell.c.orig Thu Jul 26 07:51:46 2001
++++ ispell.c Sat Dec 17 22:21:26 2005
@@ -209,6 +209,7 @@
#include <fcntl.h>
#endif /* NO_FCNTL_H */
@@ -58,7 +58,7 @@
{
(void) fprintf (stderr,
argc == 1 ? ISPELL_C_NO_FILE : ISPELL_C_NO_FILES);
-@@ -935,6 +947,29 @@
+@@ -935,6 +947,35 @@
outfile = stdout;
checkfile ();
exit (0);
@@ -78,10 +78,16 @@
+ {
+ while (argc--)
+ {
-+ infile = setupdefmt (*argv++);
-+ outfile = stdout;
-+ checkfile ();
-+ (void) fclose (infile);
++ if ((infile = setupdefmt (*argv)) == NULL)
++ {
++ (void) fprintf (stderr, CANT_OPEN, *argv);
++ (void) sleep ((unsigned) 2);
++ } else {
++ outfile = stdout;
++ checkfile ();
++ (void) fclose (infile);
++ }
++ argv++;
+ }
+ exit (0);
+ }