opencollada: include pcre.h (KhronosGroup/OpenCOLLADA#570)

This commit is contained in:
Edmund Wu
2018-08-01 22:02:41 -04:00
parent 4758fe7c56
commit 6f62bf31c1
2 changed files with 17 additions and 1 deletions
@@ -21,7 +21,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
patchPhase = lib.optionalString stdenv.isDarwin ''
patchPhase = ''
patch -p1 < ${./pcre.patch}
'' + lib.optionalString stdenv.isDarwin ''
substituteInPlace GeneratedSaxParser/src/GeneratedSaxParserUtils.cpp \
--replace math.h cmath
'';