summary refs log tree commit diff
path: root/pkgs/tools/misc/bc/readlinefix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/bc/readlinefix.patch')
-rw-r--r--pkgs/tools/misc/bc/readlinefix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/misc/bc/readlinefix.patch b/pkgs/tools/misc/bc/readlinefix.patch
new file mode 100644
index 00000000000..74a66e90615
--- /dev/null
+++ b/pkgs/tools/misc/bc/readlinefix.patch
@@ -0,0 +1,11 @@
+diff -Naur bc-1.06.orig/bc/scan.l bc-1.06/bc/scan.l
+--- bc-1.06.orig/bc/scan.l      2000-09-13 13:25:47.000000000 -0500
++++ bc-1.06/bc/scan.l   2002-07-09 14:36:34.000000000 -0500
+@@ -143,7 +143,6 @@
+ 
+ /* Definitions for readline access. */
+ extern FILE *rl_instream;
+-_PROTOTYPE(char *readline, (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