bc: 1.06 -> 1.07.1
This commit is contained in:
parent
45470c65f5
commit
b5530755a5
@ -1,21 +1,15 @@
|
|||||||
{stdenv, fetchurl, flex, readline}:
|
{stdenv, fetchurl, flex, readline, ed, texinfo}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "bc-1.06";
|
name = "bc-1.07.1";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/bc/${name}.tar.gz";
|
url = "mirror://gnu/bc/${name}.tar.gz";
|
||||||
sha256 = "0cqf5jkwx6awgd2xc2a0mkpxilzcfmhncdcfg7c9439wgkqxkxjf";
|
sha256 = "62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./readlinefix.patch ];
|
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
sed -i 's/program.*save/static &/' bc/load.c
|
|
||||||
'';
|
|
||||||
|
|
||||||
configureFlags = [ "--with-readline" ];
|
configureFlags = [ "--with-readline" ];
|
||||||
|
|
||||||
buildInputs = [flex readline];
|
buildInputs = [flex readline ed texinfo];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
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
|
|
Loading…
x
Reference in New Issue
Block a user