openspades, arangodb: more #include error fixups

... after gcc-5.4.
This commit is contained in:
Vladimír Čunát
2016-06-22 10:45:47 +02:00
parent b626e83838
commit ebf1cb28a2
2 changed files with 8 additions and 6 deletions

View File

@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
--replace "isnan(" "std::isnan(" --replace "isinf(" "std::isinf("
sed '1i#include <cmath>' -i Sources/Client/{Player,Client_Input,Corpse}.cpp \
-i Sources/Draw/SWMapRenderer.cpp
sed '1i#include <math.h>' -i Sources/Draw/SWFeatureLevel.h
'';
nativeBuildInputs =