diff options
Diffstat (limited to 'math/bc/patches/patch-ac')
-rw-r--r-- | math/bc/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/math/bc/patches/patch-ac b/math/bc/patches/patch-ac new file mode 100644 index 00000000000..43db1cc7372 --- /dev/null +++ b/math/bc/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2008/03/05 04:00:01 jlam Exp $ + +--- bc/scan.l.orig 2000-09-13 14:25:47.000000000 -0400 ++++ bc/scan.l +@@ -143,7 +143,7 @@ static int rl_len = 0; + + /* Definitions for readline access. */ + extern FILE *rl_instream; +-_PROTOTYPE(char *readline, (char *)); ++_PROTOTYPE(char *readline, (const char *)); + + /* rl_input puts upto MAX characters into BUF with the number put in + BUF placed in *RESULT. If the yy input file is the same as |