Apply patch taken from http://www.linuxfromscratch.org/blfs/view/svn/general/bc.html
to fix segfault when using -l option. svn path=/nixpkgs/trunk/; revision=25432
This commit is contained in:
parent
f81bc24790
commit
bebcd96c1d
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./readlinefix.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's/program.*save/static &/' bc/load.c
|
||||
'';
|
||||
|
||||
configureFlags = [ "--with-readline" ];
|
||||
|
||||
buildInputs = [flex readline];
|
||||
|
Loading…
Reference in New Issue
Block a user