bc: add readline support, arch patches.
This commit is contained in:
parent
34965fb2d7
commit
d2978c6ea2
@ -1 +1,2 @@
|
|||||||
libc.so.6
|
libc.so.6
|
||||||
|
libreadline.so.6
|
||||||
|
11
srcpkgs/bc/patches/bc-1.06-info-dir-entry_from_arch.patch
Normal file
11
srcpkgs/bc/patches/bc-1.06-info-dir-entry_from_arch.patch
Normal 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)
|
||||||
|
|
13
srcpkgs/bc/patches/build-fix_from_arch.patch
Normal file
13
srcpkgs/bc/patches/build-fix_from_arch.patch
Normal 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
|
@ -1,8 +1,10 @@
|
|||||||
# Template file for 'bc'
|
# Template file for 'bc'
|
||||||
pkgname=bc
|
pkgname=bc
|
||||||
version=1.06
|
version=1.06
|
||||||
|
revision=1
|
||||||
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--with-readline"
|
||||||
short_desc="An arbitrary precision numeric processing language."
|
short_desc="An arbitrary precision numeric processing language."
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
homepage="http://www.gnu.org/software/${pkgname}/"
|
homepage="http://www.gnu.org/software/${pkgname}/"
|
||||||
@ -21,3 +23,9 @@ long_desc="
|
|||||||
language."
|
language."
|
||||||
|
|
||||||
Add_dependency build flex
|
Add_dependency build flex
|
||||||
|
Add_dependency build readline-devel
|
||||||
|
|
||||||
|
do_build()
|
||||||
|
{
|
||||||
|
make ${makejobs} LEX="flex -I"
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user