pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hunspell Make package build using Sun Studio.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ebdd4430ef65
branches: trunk
changeset: 553620:ebdd4430ef65
user: sketch <sketch%pkgsrc.org@localhost>
date: Mon Jan 26 20:09:48 2009 +0000
description:
Make package build using Sun Studio.
diffstat:
textproc/hunspell/distinfo | 4 +++-
textproc/hunspell/patches/patch-aa | 15 +++++++++++++++
textproc/hunspell/patches/patch-ab | 20 ++++++++++++++++++++
3 files changed, 38 insertions(+), 1 deletions(-)
diffs (55 lines):
diff -r f124ccd8f5dc -r ebdd4430ef65 textproc/hunspell/distinfo
--- a/textproc/hunspell/distinfo Mon Jan 26 20:06:15 2009 +0000
+++ b/textproc/hunspell/distinfo Mon Jan 26 20:09:48 2009 +0000
@@ -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 -r f124ccd8f5dc -r ebdd4430ef65 textproc/hunspell/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hunspell/patches/patch-aa Mon Jan 26 20:09:48 2009 +0000
@@ -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 -r f124ccd8f5dc -r ebdd4430ef65 textproc/hunspell/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hunspell/patches/patch-ab Mon Jan 26 20:09:48 2009 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index