pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/hunspell More patching to get package buildin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5c6be836647
branches:  trunk
changeset: 399538:a5c6be836647
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Tue Sep 22 09:16:51 2009 +0000

description:
More patching to get package building with Sun Studio.

diffstat:

 textproc/hunspell/distinfo         |   3 ++-
 textproc/hunspell/patches/patch-ac |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 9a7021e954aa -r a5c6be836647 textproc/hunspell/distinfo
--- a/textproc/hunspell/distinfo        Tue Sep 22 08:37:15 2009 +0000
+++ b/textproc/hunspell/distinfo        Tue Sep 22 09:16:51 2009 +0000
@@ -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 -r 9a7021e954aa -r a5c6be836647 textproc/hunspell/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hunspell/patches/patch-ac        Tue Sep 22 09:16:51 2009 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index