bc: add readline support, arch patches.

This commit is contained in:
davehome 2011-12-24 01:23:07 -07:00
parent 34965fb2d7
commit d2978c6ea2
4 changed files with 33 additions and 0 deletions

View file

@ -1 +1,2 @@
libc.so.6
libreadline.so.6

View file

@ -0,0 +1,11 @@
--- doc/bc.info.info-dir-entry 2000-10-03 20:36:31.000000000 +0200
+++ doc/bc.info 2003-01-06 14:07:40.000000000 +0100
@@ -1,5 +1,8 @@
This is bc.info, produced by makeinfo version 4.0 from bc.texi.
+START-INFO-DIR-ENTRY
+* bc: (bc). Arbritrary precision calculator language.
+END-INFO-DIR-ENTRY

File: bc.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir)

View file

@ -0,0 +1,13 @@
diff -wbBur bc-1.06/bc/scan.l bc-1.06.my/bc/scan.l
--- bc/scan.l 2000-09-13 22:25:47 +0400
+++ bc/scan.l 2006-12-25 12:39:34 +0300
@@ -143,7 +143,9 @@
/* Definitions for readline access. */
extern FILE *rl_instream;
+#if 0
_PROTOTYPE(char *readline, (char *));
+#endif
/* 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

View file

@ -1,8 +1,10 @@
# Template file for 'bc'
pkgname=bc
version=1.06
revision=1
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
build_style=gnu-configure
configure_args="--with-readline"
short_desc="An arbitrary precision numeric processing language."
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.gnu.org/software/${pkgname}/"
@ -21,3 +23,9 @@ long_desc="
language."
Add_dependency build flex
Add_dependency build readline-devel
do_build()
{
make ${makejobs} LEX="flex -I"
}