anchor.diff: -{ stdenv, fetchurl, SDL, makeDesktopItem, mesa }:
  +{ stdenv, lib, fetchurl, SDL, makeDesktopItem, mesa }:
   
  -stdenv.mkDerivation rec { 
  +stdenv.mkDerivation rec {
     name = "dosbox-0.74";
   
     src = fetchurl {
  
positive.code:         url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-emulation/dosbox/files/dosbox-0.74-gcc46.patch?revision=1.1";
          sha256 = "03iv1ph7fccfw327ngnhvzwyiix7fsbdb5mmpxivzkidhlrssxq9";
        })
      ];
  
    patchFlags = "-p0";
  
negative.code:   hardeningDisable = [ "format" ];
  
    buildInputs = [ SDL mesa ];
  
    configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest";
  
    desktopItem = makeDesktopItem {
      name = "dosbox";
  