forked from mirrors/nixpkgs
inkscape: patch to build with clang (Darwin)
This commit is contained in:
parent
2f4f77c682
commit
22dfdbd2cf
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue