summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsketch <sketch>2009-09-22 09:16:51 +0000
committersketch <sketch>2009-09-22 09:16:51 +0000
commitaf1445e4488bb2131dc8ffa8a7316813c971fb46 (patch)
treeb251be469e6dabfd8515abd723f96c831f8c430c
parent822fa3f7650bf98da88d551347fac9b6db22d809 (diff)
downloadpkgsrc-af1445e4488bb2131dc8ffa8a7316813c971fb46.tar.gz
More patching to get package building with Sun Studio.
-rw-r--r--textproc/hunspell/distinfo3
-rw-r--r--textproc/hunspell/patches/patch-ac20
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;