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 ];
|
||||
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" ];
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
|
|
Loading…
Reference in New Issue