pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/isearch Make this compile when using gcc 3.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/31c80411f600
branches:  trunk
changeset: 475707:31c80411f600
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sun May 23 22:33:17 2004 +0000

description:
Make this compile when using gcc 3.3.

diffstat:

 textproc/isearch/distinfo         |   4 +++-
 textproc/isearch/patches/patch-ab |  13 +++++++++++++
 textproc/isearch/patches/patch-ac |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r f28309eab4ad -r 31c80411f600 textproc/isearch/distinfo
--- a/textproc/isearch/distinfo Sun May 23 21:55:47 2004 +0000
+++ b/textproc/isearch/distinfo Sun May 23 22:33:17 2004 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.3 2002/05/03 22:36:08 jtb Exp $
+$NetBSD: distinfo,v 1.4 2004/05/23 22:33:17 kristerw Exp $
 
 SHA1 (Isearch-1.47.01.tar.gz) = 86761d6055fdd7b954b7ac9d9fd3d0084d758e3f
 Size (Isearch-1.47.01.tar.gz) = 484760 bytes
 SHA1 (patch-aa) = 5c8291a92f84cc47131e45586879cf986e6a5c4d
+SHA1 (patch-ab) = 1bdf80b2a355ac17ff090c7ae25d231bea5ab017
+SHA1 (patch-ac) = 232ef20b661a9e5fd32814da256a59c7146b7b69
diff -r f28309eab4ad -r 31c80411f600 textproc/isearch/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/isearch/patches/patch-ab Sun May 23 22:33:17 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/05/23 22:33:17 kristerw Exp $
+
+--- src/string.cxx.orig        2004-05-24 00:25:54.000000000 +0200
++++ src/string.cxx     2004-05-24 00:26:37.000000000 +0200
+@@ -574,7 +574,7 @@
+ 
+ // can this be const STRING& ?
+ ostream& operator<<(ostream& os, const STRING& str) {
+-  os.write(str.Buffer, str.Length);
++  os.write((const char*)str.Buffer, str.Length);
+   return os;
+ }
+ 
diff -r f28309eab4ad -r 31c80411f600 textproc/isearch/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/isearch/patches/patch-ac Sun May 23 22:33:17 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2004/05/23 22:33:17 kristerw Exp $
+
+--- src/registry.cxx.orig      2004-05-24 00:24:41.000000000 +0200
++++ src/registry.cxx   2004-05-24 00:25:10.000000000 +0200
+@@ -333,7 +333,7 @@
+ REGISTRY::fprint(FILE* fp, const INT level) const 
+ #else
+ void 
+-REGISTRY::fprint(FILE* fp, const INT level = 0) const 
++REGISTRY::fprint(FILE* fp, const INT level) const 
+ #endif
+ 
+ #else



Home | Main Index | Thread Index | Old Index