summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2001-11-04 07:44:50 +0000
committerDonny Davies <woodchip@gentoo.org>2001-11-04 07:44:50 +0000
commit9b2d96309529ed617d2088bd83a37eb1280d5936 (patch)
treec973d8f3ddbecba6933f0af2e974d10213029cd9 /sys-devel/bc/files/bc-1.06-readline42.diff
parentnew version (diff)
downloadhistorical-9b2d96309529ed617d2088bd83a37eb1280d5936.tar.gz
historical-9b2d96309529ed617d2088bd83a37eb1280d5936.tar.bz2
historical-9b2d96309529ed617d2088bd83a37eb1280d5936.zip
add a patch to allow building with readline-4.2.
Diffstat (limited to 'sys-devel/bc/files/bc-1.06-readline42.diff')
-rw-r--r--sys-devel/bc/files/bc-1.06-readline42.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-devel/bc/files/bc-1.06-readline42.diff b/sys-devel/bc/files/bc-1.06-readline42.diff
new file mode 100644
index 000000000000..97856d58e3ed
--- /dev/null
+++ b/sys-devel/bc/files/bc-1.06-readline42.diff
@@ -0,0 +1,12 @@
+this lets bc use readline-4.2, borrowed from redhat apparently. :)
+
+--- bc-1.06/bc/scan.l.sux Fri May 11 14:27:20 2001
++++ bc-1.06/bc/scan.l Fri May 11 14:27:32 2001
+@@ -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