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 | |
parent | 718c3e83cb2908409225f17b47171d1433930a60 (diff) | |
download | pkgsrc-91a3fcff3978abe868c9af548386349348d50a68.tar.gz |
More patching to get package building with Sun Studio.
Diffstat (limited to 'textproc/hunspell')
-rw-r--r-- | textproc/hunspell/distinfo | 3 | ||||
-rw-r--r-- | textproc/hunspell/patches/patch-ac | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/textproc/hunspell/distinfo b/textproc/hunspell/distinfo index fa509b10350..a4e2cca5568 100644 --- a/textproc/hunspell/distinfo +++ b/textproc/hunspell/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2009/02/08 18:25:40 ahoka Exp $ +$NetBSD: distinfo,v 1.5 2009/09/22 09:16:51 sketch Exp $ SHA1 (hunspell-1.2.8.tar.gz) = eaa76f82fcf08678e49f7a30afdaa268bcc75235 RMD160 (hunspell-1.2.8.tar.gz) = e4fd39e5fadf96da1311f2aa7163ec17eacf0f83 Size (hunspell-1.2.8.tar.gz) = 784360 bytes SHA1 (patch-aa) = 47dbec62c0ffe972275cc7e554a35d8acdbf495a SHA1 (patch-ab) = 01ff90fc2ebf1049d791a0669ddcc3f5495729c0 +SHA1 (patch-ac) = 27cad6078b55bce7144f462ddebac9887392c93b 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; |