nixpkgs/pkgs/tools/misc/bc/readlinefix.patch
Lluís Batlle i Rossell 686147d0f6 Making bc use readline. I prefer bc with readline.
svn path=/nixpkgs/trunk/; revision=14919
2009-04-08 07:29:42 +00:00

11 lines
444 B
Diff

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