Mon Jan 26 20:09:48 2009 UTC ()
Make package build using Sun Studio.
(sketch)
diff -r1.2 -r1.3 pkgsrc/textproc/hunspell/distinfo
diff -r0 -r1.1 pkgsrc/textproc/hunspell/patches/patch-aa
diff -r0 -r1.1 pkgsrc/textproc/hunspell/patches/patch-ab
--- pkgsrc/textproc/hunspell/distinfo 2008/04/14 09:39:00 1.2
+++ pkgsrc/textproc/hunspell/distinfo 2009/01/26 20:09:48 1.3
| @@ -1,5 +1,7 @@ | | | @@ -1,5 +1,7 @@ |
1 | $NetBSD: distinfo,v 1.2 2008/04/14 09:39:00 wiz Exp $ | | 1 | $NetBSD: distinfo,v 1.3 2009/01/26 20:09:48 sketch Exp $ |
2 | | | 2 | |
3 | SHA1 (hunspell-1.2.2.tar.gz) = 521063ff64b2182e92e92f5355ae2cf396f39420 | | 3 | SHA1 (hunspell-1.2.2.tar.gz) = 521063ff64b2182e92e92f5355ae2cf396f39420 |
4 | RMD160 (hunspell-1.2.2.tar.gz) = 110c428f2b6734afefb8865dc3d63a4492594552 | | 4 | RMD160 (hunspell-1.2.2.tar.gz) = 110c428f2b6734afefb8865dc3d63a4492594552 |
5 | Size (hunspell-1.2.2.tar.gz) = 752046 bytes | | 5 | Size (hunspell-1.2.2.tar.gz) = 752046 bytes |
| | | 6 | SHA1 (patch-aa) = 47dbec62c0ffe972275cc7e554a35d8acdbf495a |
| | | 7 | SHA1 (patch-ab) = 01ff90fc2ebf1049d791a0669ddcc3f5495729c0 |
$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"
$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;