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
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
postPatch = ''
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 = [