summaryrefslogtreecommitdiff
path: root/textproc/aspell/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/aspell/patches/patch-af')
-rw-r--r--textproc/aspell/patches/patch-af18
1 files changed, 18 insertions, 0 deletions
diff --git a/textproc/aspell/patches/patch-af b/textproc/aspell/patches/patch-af
new file mode 100644
index 00000000000..dda22520042
--- /dev/null
+++ b/textproc/aspell/patches/patch-af
@@ -0,0 +1,18 @@
+$NetBSD: patch-af,v 1.1 2004/07/24 19:05:37 salo Exp $
+
+--- prog/aspell.cpp.orig Sat Jul 24 19:56:05 2004
++++ prog/aspell.cpp Sat Jul 24 20:24:15 2004
+@@ -619,7 +619,13 @@
+ << ":";
+ AspellStringEnumeration * els
+ = aspell_word_list_elements(suggestions);
++#ifndef __SUNPRO_CC
+ if (options->retrieve_bool("reverse")) {
++#else
++ bool bool_op;
++ bool_op = options->retrieve_bool("reverse");
++ if (bool_op) {
++#endif
+ Vector<String> sugs;
+ sugs.reserve(aspell_word_list_size(suggestions));
+ while ( ( w = aspell_string_enumeration_next(els)) != 0)