summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorsketch <sketch>2009-01-26 20:09:48 +0000
committersketch <sketch>2009-01-26 20:09:48 +0000
commit1e857f534eb3893374d74d7476c789ea67393ad1 (patch)
treee0f3f73ceffad4eb86117bf759a354f5719908dc /textproc
parenta1ea3cd2febebee14fec55936cb8cfaabdd0dec2 (diff)
downloadpkgsrc-1e857f534eb3893374d74d7476c789ea67393ad1.tar.gz
Make package build using Sun Studio.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/hunspell/distinfo4
-rw-r--r--textproc/hunspell/patches/patch-aa15
-rw-r--r--textproc/hunspell/patches/patch-ab20
3 files changed, 38 insertions, 1 deletions
diff --git a/textproc/hunspell/distinfo b/textproc/hunspell/distinfo
index c1e332f0f69..b3dacc43ad5 100644
--- a/textproc/hunspell/distinfo
+++ b/textproc/hunspell/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.2 2008/04/14 09:39:00 wiz Exp $
+$NetBSD: distinfo,v 1.3 2009/01/26 20:09:48 sketch Exp $
SHA1 (hunspell-1.2.2.tar.gz) = 521063ff64b2182e92e92f5355ae2cf396f39420
RMD160 (hunspell-1.2.2.tar.gz) = 110c428f2b6734afefb8865dc3d63a4492594552
Size (hunspell-1.2.2.tar.gz) = 752046 bytes
+SHA1 (patch-aa) = 47dbec62c0ffe972275cc7e554a35d8acdbf495a
+SHA1 (patch-ab) = 01ff90fc2ebf1049d791a0669ddcc3f5495729c0
diff --git a/textproc/hunspell/patches/patch-aa b/textproc/hunspell/patches/patch-aa
new file mode 100644
index 00000000000..8226bc0ab43
--- /dev/null
+++ b/textproc/hunspell/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2009/01/26 20:09:48 sketch Exp $
+
+--- src/hunspell/hunzip.hxx.orig Mon Jan 26 19:52:29 2009
++++ src/hunspell/hunzip.hxx Mon Jan 26 19:59:16 2009
+@@ -4,6 +4,10 @@
+ #ifndef _HUNZIP_HXX_
+ #define _HUNZIP_HXX_
+
++#ifdef __SUNPRO_CC
++#include <iostream>
++#endif
++
+ #define BUFSIZE 65536
+ #define HZIP_EXTENSION ".hz"
+
diff --git a/textproc/hunspell/patches/patch-ab b/textproc/hunspell/patches/patch-ab
new file mode 100644
index 00000000000..50fb3689f87
--- /dev/null
+++ b/textproc/hunspell/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2009/01/26 20:09:48 sketch Exp $
+
+--- src/hunspell/phonet.cxx.orig Mon Jan 26 19:59:48 2009
++++ src/hunspell/phonet.cxx Mon Jan 26 20:05:39 2009
+@@ -42,6 +42,15 @@
+ #include "csutil.hxx"
+ #include "phonet.hxx"
+
++#ifdef __SUNPRO_CC
++using std::isalpha;
++using std::isdigit;
++using std::strchr;
++using std::strcpy;
++using std::strlen;
++using std::strstr;
++#endif
++
+ void init_phonet_hash(phonetable & parms)
+ {
+ int i, k;