diff options
author | tv <tv> | 1998-12-30 20:36:54 +0000 |
---|---|---|
committer | tv <tv> | 1998-12-30 20:36:54 +0000 |
commit | 183fb72e45736247ae7582dbbb83a4d20bb794bb (patch) | |
tree | 114641fb8e1e3c0fcbeac0040b1f181a1e03a1e7 /devel | |
parent | dc1928705cab459045f721a4d7f047c276f2f1dc (diff) | |
download | pkgsrc-183fb72e45736247ae7582dbbb83a4d20bb794bb.tar.gz |
ANSI-ism in hash.cc: can't implicitly cast a const reference to a
non-const reference.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/prcs/patches/patch-ab | 13 |
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; |