diff options
author | tv <tv> | 1998-12-30 20:36:54 +0000 |
---|---|---|
committer | tv <tv> | 1998-12-30 20:36:54 +0000 |
commit | 1765131d4b634694e41413905906a585cefa2ea6 (patch) | |
tree | 114641fb8e1e3c0fcbeac0040b1f181a1e03a1e7 /devel/prcs | |
parent | 314e50e6647e447a682652285152301ad77afe0f (diff) | |
download | pkgsrc-1765131d4b634694e41413905906a585cefa2ea6.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-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; |