summaryrefslogtreecommitdiff
path: root/textproc/aspell/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/aspell/patches/patch-am')
-rw-r--r--textproc/aspell/patches/patch-am24
1 files changed, 24 insertions, 0 deletions
diff --git a/textproc/aspell/patches/patch-am b/textproc/aspell/patches/patch-am
new file mode 100644
index 00000000000..cf822de8e30
--- /dev/null
+++ b/textproc/aspell/patches/patch-am
@@ -0,0 +1,24 @@
+$NetBSD: patch-am,v 1.1 2005/10/27 01:08:06 rillig Exp $
+
+To understand recursion, you first have to understand recursion.
+
+--- prog/aspell.cpp.orig 2005-06-19 13:58:59.000000000 +0200
++++ prog/aspell.cpp 2005-10-27 02:53:09.018812500 +0200
+@@ -1878,7 +1878,7 @@ struct SML_Parms {
+ typedef SML_WordEntry Value;
+ typedef const char * Key;
+ static const bool is_multi = false;
+- hash<const char *> hash;
++ acommon::hash<const char *> hash;
+ bool equal(Key x, Key y) {return strcmp(x,y) == 0;}
+ Key key(const Value & v) {return v.word;}
+ };
+@@ -2029,7 +2029,7 @@ struct CML_Parms {
+ typedef CML_Entry Value;
+ typedef const char * Key;
+ static const bool is_multi = true;
+- hash<const char *> hash;
++ acommon::hash<const char *> hash;
+ bool equal(Key x, Key y) {return strcmp(x,y) == 0;}
+ Key key(const Value & v) {return v.word;}
+ };