diff options
author | tv <tv@pkgsrc.org> | 1998-12-30 20:36:54 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1998-12-30 20:36:54 +0000 |
commit | d8e58a859b219428cf30d7c4de78699dd1bea83d (patch) | |
tree | 114641fb8e1e3c0fcbeac0040b1f181a1e03a1e7 /devel/prcs/patches | |
parent | b0d15709d39193960e71f94e3b07a1a367dd7890 (diff) | |
download | pkgsrc-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/patches')
-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; |