pure: fixed build with gcc 4.9 (ZHF)
Reported upstream https://bitbucket.org/purelang/pure-lang/issues/37
This commit is contained in:
parent
ad41a600e5
commit
03bd9a363a
|
@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ bison flex makeWrapper ];
|
buildInputs = [ bison flex makeWrapper ];
|
||||||
propagatedBuildInputs = [ llvm gmp mpfr readline ];
|
propagatedBuildInputs = [ llvm gmp mpfr readline ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
for f in expr.cc matcher.cc printer.cc symtable.cc parserdefs.hh; do
|
||||||
|
sed -i '1i\#include <stddef.h>' $f
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--enable-release" ];
|
configureFlags = [ "--enable-release" ];
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue