Merge pull request #44126 from eadwu/opencollada/resolve-pcre-declarations

opencollada: include pcre.h (KhronosGroup/OpenCOLLADA#570)
This commit is contained in:
Matthew Bauer
2018-08-02 16:44:08 -04:00
committed by GitHub
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
'';