anchor.diff:        name = "x264-${version}";
   
         src = fetchgit {
  -        version = 5;
  +        version = 6;
           url = "https://git.videolan.org/git/x264.git";
  -        rev = "7d0ff22e8c96de126be9d3de4952edd6d1b75a8c";
  -        sha256 = "db41c5a7f5730d7bfbb687204cd2aa09e6db7ef7a3acd023a467ef902cc465e1";
  +        rev = "545de2ffec6ae9a80738de1b2c8cf820249a2530";
  +        sha256 = "e657bea1af1ac8f3747afc71838a6b3b324a6f4785eb9045ce4188b37a282cc0";
         };
   
         configurePhase = ":";
  
positive.code:   ];
  
    postPatch = ''
      patchShebangs ./configure
      patchShebangs ./version.sh
    '';
  
    configureFlags = [
  
negative.code: # NOTE: the videolan autogenerated tarballs do not contain the latest sources.
  
  let
    version = "2018-09-25";
  in
  stdenv.mkDerivation rec {
    name = "x264-${version}";
  
    src = fetchurl {
      url = "http://x264-${version}.tar.xz";
      multihash = "QmP94FLFCDNDBDx9SFPEgnmPQ1jKvt3hvNmFjkN2uot9Gm";
      sha256 = "a47d528a9e2e077aa820418b57c3c718d17c681fa9360e3a5526955e406ae0e5";
    };
  
    nativeBuildInputs = [
  