diff options
author | sketch <sketch@pkgsrc.org> | 2009-09-22 09:16:51 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2009-09-22 09:16:51 +0000 |
commit | 91a3fcff3978abe868c9af548386349348d50a68 (patch) | |
tree | b251be469e6dabfd8515abd723f96c831f8c430c /textproc/hunspell/patches | |
parent | 718c3e83cb2908409225f17b47171d1433930a60 (diff) | |
download | pkgsrc-91a3fcff3978abe868c9af548386349348d50a68.tar.gz |
More patching to get package building with Sun Studio.
Diffstat (limited to 'textproc/hunspell/patches')
-rw-r--r-- | textproc/hunspell/patches/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/hunspell/patches/patch-ac b/textproc/hunspell/patches/patch-ac new file mode 100644 index 00000000000..22b56535c2c --- /dev/null +++ b/textproc/hunspell/patches/patch-ac @@ -0,0 +1,20 @@ +$NetBSD: patch-ac,v 1.1 2009/09/22 09:16:51 sketch Exp $ + +--- src/hunspell/replist.cxx.orig Sat Nov 1 14:09:51 2008 ++++ src/hunspell/replist.cxx Tue Sep 22 10:12:37 2009 +@@ -14,6 +14,15 @@ + #include "replist.hxx" + #include "csutil.hxx" + ++#ifdef __SUNPRO_CC ++using std::free; ++using std::malloc; ++using std::strcmp; ++using std::strcpy; ++using std::strlen; ++using std::strncmp; ++#endif ++ + RepList::RepList(int n) { + dat = (replentry **) malloc(sizeof(replentry *) * n); + if (dat == 0) size = 0; else size = n; |