anchor.diff:  { alsaSupport ? true, xvSupport ? true, theoraSupport ? true, cacaSupport ? true
   , xineramaSupport ? true, randrSupport ? true, dvdnavSupport ? true
  -, stdenv, fetchurl, x11, freetype, fontconfig, zlib, ffmpeg
  +, stdenv, fetchurl, fetchsvn, fetchgit, x11, freetype, fontconfig, zlib
   , alsaLib ? null, libXv ? null, libtheora ? null, libcaca ? null
   , libXinerama ? null, libXrandr ? null, libdvdnav ? null
   , cdparanoia ? null, cddaSupport ? true
  
positive.code:       license = "unfree";
      };
    } else null;
  
  in  
  
  stdenv.mkDerivation rec {
    name = "mplayer-20110423";
  
    src = fetchurl {
      # Old kind of URL:
      # url = http://nixos.org/tarballs/mplayer-snapshot-20101227.tar.bz2;
      # Snapshot I took on 20110423
      url = http://www.mplayerhq.hu/MPlayer/releases/mplayer-export-snapshot.tar.bz2;
      sha256 = "cc1b3fda75b172f02c3f46581cfb2c17f4090997fe9314ad046e464a76b858bb";
    };
  
    prePatch = ''
  
negative.code:   buildNativeInputs = [ yasm ];
  
    preConfigure = ''
      cp -r ${ffmpegGit} ffmpeg
      chmod u+w -R ffmpeg
      sed -ie '1i#include "libavutil/intreadwrite.h"' ffmpeg/libavcodec/libmp3lame.c
    '';
  
    postConfigure = ''
      echo CONFIG_MPEGAUDIODSP=yes >> config.mak
    '';
  
    configureFlags = ''
  