summaryrefslogtreecommitdiff
path: root/devel/prcs
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-12-30 20:36:54 +0000
committertv <tv@pkgsrc.org>1998-12-30 20:36:54 +0000
commitd8e58a859b219428cf30d7c4de78699dd1bea83d (patch)
tree114641fb8e1e3c0fcbeac0040b1f181a1e03a1e7 /devel/prcs
parentb0d15709d39193960e71f94e3b07a1a367dd7890 (diff)
downloadpkgsrc-d8e58a859b219428cf30d7c4de78699dd1bea83d.tar.gz
ANSI-ism in hash.cc: can't implicitly cast a const reference to a
non-const reference.
Diffstat (limited to 'devel/prcs')
-rw-r--r--devel/prcs/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/prcs/patches/patch-ab b/devel/prcs/patches/patch-ab
new file mode 100644
index 00000000000..d320db834fa
--- /dev/null
+++ b/devel/prcs/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 1998/12/30 20:36:54 tv Exp $
+
+--- src/hash.cc.orig Wed Dec 30 15:35:10 1998
++++ src/hash.cc Wed Dec 30 15:37:29 1998
+@@ -95,7 +95,7 @@
+ return attrs_hash (x, M);
+ }
+
+-int hash(const char*& s, int M)
++int hash(const char*const& s, int M)
+ /* a char* hash function from Aho, Sethi, and Ullman */
+ {
+ const char *p;