git.iko.soy/typeable/nixpkgs
on master help sign in
inkscape: patch to build with clang (Darwin)
commit22dfdbd2cfea054697864ee3b60c911602d40d77 authorSpencer Whitt <sw@swhitt.me> dateWed 8 Apr 2015, 01:02 (12 years ago) parent2f4f77c
1 file changed+5
pkgs/applications/graphics/inkscape/default.nix+5
pkgs/applications/graphics/inkscape/default.nix+5
@@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
1616
1717 postPatch = ''
1818 patchShebangs share/extensions
19+ ''
20+ # Clang gets misdetected, so hardcode the right answer
21+ + stdenv.lib.optionalString (stdenv.cc.cc.isClang or false) ''
22+ substituteInPlace src/ui/tool/node.h \
23+ --replace "#if __cplusplus >= 201103L" "#if true"
1924 '';
2025
2126 propagatedBuildInputs = [