3
0
Fork 0
forked from mirrors/nixpkgs

inkscape: patch to build with clang (Darwin)

This commit is contained in:
Spencer Whitt 2015-04-08 01:02:59 -04:00
parent 2f4f77c682
commit 22dfdbd2cf

View file

@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
postPatch = '' postPatch = ''
patchShebangs share/extensions patchShebangs share/extensions
''
# Clang gets misdetected, so hardcode the right answer
+ stdenv.lib.optionalString (stdenv.cc.cc.isClang or false) ''
substituteInPlace src/ui/tool/node.h \
--replace "#if __cplusplus >= 201103L" "#if true"
''; '';
propagatedBuildInputs = [ propagatedBuildInputs = [