pkgsrc/textproc/aspell/patches/patch-am
rillig 9bf418e4de Added two more patches for Solaris, which makes the package build.
Removed the extra LIBS for the SunPro compiler from the Makefile, as
they made the build fail for me.
2005-10-27 01:08:06 +00:00

24 lines
856 B
Text

$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;}
};