summaryrefslogtreecommitdiff
path: root/devel/sfslite/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/sfslite/patches/patch-ab')
-rw-r--r--devel/sfslite/patches/patch-ab24
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/sfslite/patches/patch-ab b/devel/sfslite/patches/patch-ab
new file mode 100644
index 00000000000..3d0b4ccc9de
--- /dev/null
+++ b/devel/sfslite/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1.1.1 2012/05/07 07:25:55 agc Exp $
+
+use the correct function without ambiguous details
+
+--- rpcc/genheader.C 2012/03/28 12:43:45 1.1
++++ rpcc/genheader.C 2012/03/28 12:45:10
+@@ -351,7 +351,7 @@
+ }
+
+ static str
+-tolower (const str &in)
++sfslitetolower (const str &in)
+ {
+ strbuf r;
+ for (const char *c = in.cstr (); *c; c++) {
+@@ -505,7 +505,7 @@
+ dump_tmpl_proc (const rpc_proc *rc)
+ {
+ str arg, res;
+- str fn = tolower (rc->id);
++ str fn = sfslitetolower (rc->id);
+ if (rc->arg != "void") arg = rc->arg;
+ if (rc->res != "void") res = rc->res;
+ str spc = " ";