anchor.diff:  
   stdenv.mkDerivation rec {
     name = "avidemux-${version}";
  -  version = "2.7.0";
  +  version = "2.7.1";
   
     src = fetchurl {
       url = "mirror://sourceforge/avidemux/avidemux/${version}/avidemux_${version}.tar.gz";
  -    sha256 = "1bf4l9qwxq3smc1mx5pybydc742a4qqsk17z50j9550d9iwnn7gy";
  +    sha256 = "15g9h791qbnmycabbbl7s2b3n3xpvygm88qrfk35g2cw6957ik9w";
     };
   
     patches = [
       ./dynamic_install_dir.patch
       ./bootstrap_logging.patch
  -    # glibc 2.27 compat
  -    (fetchpatch {
  -      url = https://github.com/mean00/avidemux2/commit/afdd9c4b876d77a4974d3fa7d9f25caeffbdf13d.patch;
  -      sha256 = "0mf8vpfdqybziqsfyvxwcdm3zsmnp64293icinhvfpq9xp5b6vn6";
  -    })
     ];
   
     nativeBuildInputs = [ yasm cmake pkgconfig ];
  
positive.code:     mkdir $out
      cp -R install/usr/* $out
  
      for i in $out/bin/*; do
        wrapProgram $i \
          --set ADM_ROOT_DIR $out \
          --prefix LD_LIBRARY_PATH ":" "${libXext}/lib"
      done
      ln -s "$out/bin/avidemux3_${default}" "$out/bin/avidemux"
  
      fixupPhase
  
negative.code:     ++ lib.optionals withQT [ qttools qtbase ]
      ++ lib.optional withVPX libvpx;
  
    buildCommand = let
      qtVersion = "5.${stdenv.lib.versions.minor qtbase.version}";
      wrapProgram = f: "wrapProgram ${f} --set ADM_ROOT_DIR $out --prefix LD_LIBRARY_PATH : ${libXext}/lib";
    in ''
      unpackPhase
      cd "$sourceRoot"
      patchPhase
  