summaryrefslogtreecommitdiff
path: root/devel/gcvs
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-08-03 18:35:43 +0000
committerwiz <wiz@pkgsrc.org>2006-08-03 18:35:43 +0000
commit79ee67a35814b664d3e807652d11a73cbad7a533 (patch)
tree78756afd8c6416b65ba9f331424855e3f9806d68 /devel/gcvs
parenta86127f553c408c0597328653e6412f84f0da0b1 (diff)
downloadpkgsrc-79ee67a35814b664d3e807652d11a73cbad7a533.tar.gz
Fix build with gcc4. Patch from Kenneth Freidank in PR 34132.
Diffstat (limited to 'devel/gcvs')
-rw-r--r--devel/gcvs/distinfo3
-rw-r--r--devel/gcvs/patches/patch-ar22
2 files changed, 24 insertions, 1 deletions
diff --git a/devel/gcvs/distinfo b/devel/gcvs/distinfo
index 4bc29be8d05..0a4d03e53f8 100644
--- a/devel/gcvs/distinfo
+++ b/devel/gcvs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/09/11 13:59:38 adrianp Exp $
+$NetBSD: distinfo,v 1.6 2006/08/03 18:35:43 wiz Exp $
SHA1 (gcvs-1.0.tar.gz) = 42b2469d0a9acc0e69a127b44000cd1b11bb895e
RMD160 (gcvs-1.0.tar.gz) = 195698283848cd1f22d00eb37df7dd0f6b52cffc
@@ -23,3 +23,4 @@ SHA1 (patch-an) = 039dac4df56f922c1611b6e00382558496613d2f
SHA1 (patch-ao) = 0c34855297bd4c8aa32d5f6ef14695c58f6d3e8c
SHA1 (patch-ap) = c14228e74fc433b06cf25b23aece71dfe74587aa
SHA1 (patch-aq) = 544d6b2d44cba7ab31fea66c13ff391d0cd81932
+SHA1 (patch-ar) = 05244267342a031e5470e4c2641ac359985c6334
diff --git a/devel/gcvs/patches/patch-ar b/devel/gcvs/patches/patch-ar
new file mode 100644
index 00000000000..0f5095fb9d2
--- /dev/null
+++ b/devel/gcvs/patches/patch-ar
@@ -0,0 +1,22 @@
+$NetBSD: patch-ar,v 1.1 2006/08/03 18:35:43 wiz Exp $
+
+--- rf/ustr.h.orig 2002-03-06 14:13:01.000000000 +0000
++++ rf/ustr.h
+@@ -175,13 +175,13 @@ public :
+ //! concatenate
+ UStr & operator<<(int addToStr);
+ //! concatenate
+- UStr & UStr::operator+=(int addToStr);
++ UStr & operator+=(int addToStr);
+ //! concatenate
+- UStr & UStr::operator+=(char *addToStr);
++ UStr & operator+=(char *addToStr);
+ //! concatenate
+- UStr & UStr::operator+=(const char *addToStr);
++ UStr & operator+=(const char *addToStr);
+ //! concatenate
+- UStr & UStr::operator+=(const UStr & addToStr);
++ UStr & operator+=(const UStr & addToStr);
+
+ //! compare
+ inline int compare(const char *thestr) const { return strcmp(*this, thestr); }