anchor.diff:    # http://www.inkscapeforum.com/viewtopic.php?f=11&t=10403
     url = "http://www.keppel.demon.co.uk/111000/files/BoxMaker0.91.zip";
     sha256 = "5c5697f43dc3a95468f61f479cb50b7e2b93379a1729abf19e4040ac9f43a1a8";
  +};
  +
  +stdcxx-patch = fetchpatch {
  +  url = http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/diff/14542?context=3;
  +  sha256 = "15h831lsh61ichgdygkdkbdm1dlb9mhprldq27hkx2472lcnyx6y";
   };
   
   in
  
positive.code: { stdenv, fetchurl, pkgconfig, perl, perlXMLParser, gtk, libXft
  , libpng, zlib, popt, boehmgc, libxml2, libxslt, glib, gtkmm
  , glibmm, libsigcxx, lcms, boost, gettext, makeWrapper, intltool
  , gsl, python, numpy, pyxml, lxml, poppler, imagemagick, libwpg, librevenge
  , libvisio, libcdr, libexif, unzip
  , boxMakerPlugin ? false # boxmaker plugin
  }:
  
  
negative.code:   patches = [ ./deprecated-scopedptr.patch ];
  
    postPatch = ''
      patch -i ${stdcxx-patch} -p 0
      patchShebangs share/extensions
    ''
    # Clang gets misdetected, so hardcode the right answer
  