anchor.diff:      '';
       configurePlatforms = [];
       dontStrip = true;
  -  } // optionalAttrs isMingw {
  +  } // optionalAttrs hostPlatform.isMinGW {
       propagatedBuildInputs = [ ];
     };
   
  
positive.code: { stdenv, fetchurl, fetchpatch, substituteAll
  , libXrender, libXinerama, libXcursor, libXmu, libXv, libXext
  , libXfixes, libXrandr, libSM, freetype, fontconfig, zlib, libjpeg, libpng
  , libmng, which, mesaSupported, mesa, mesa_glu, openssl, dbus, cups, pkgconfig
  
negative.code:       rm -rf $out/tests
      '';
  
    crossAttrs = {
      # I've not tried any case other than i686-pc-mingw32.
      # -nomake tools:   it fails linking some asian language symbols
      # -no-svg: it fails to build on mingw64
  