anchor.diff:        /usr/share/fonts/truetype/freefont ${freefont_ttf}/share/fonts/truetype
     '';
   
  -  # https://github.com/NixOS/nixpkgs/pull/35124#issuecomment-370552830
  +  # - Touch plugins (plugins cache keyed off mtime and file size:
  +  #     https://github.com/NixOS/nixpkgs/pull/35124#issuecomment-370552830
  +  # - Remove references to the Qt development headers (used in error messages)
     postFixup = ''
       find $out/lib/vlc/plugins -exec touch -d @1 '{}' ';'
       $out/lib/vlc/vlc-cache-gen $out/vlc/plugins
  +
  +    remove-references-to -t "${qtbase.dev}" $out/lib/vlc/plugins/gui/libqt_plugin.so
     '';
   
     # Most of the libraries are auto-detected so we don't need to set a bunch of
  
positive.code:   ] ++ optionals withQt5    [ qtbase qtsvg qtx11extras ]
      ++ optional jackSupport libjack2;
  
    nativeBuildInputs = [ autoreconfHook perl pkgconfig ];
  
    enableParallelBuilding = true;
  
  
negative.code: , withQt5 ? true, qtbase ? null, qtsvg ? null, qtx11extras ? null
  , jackSupport ? false
  , fetchpatch
  , removeReferencesTo
  }:
  
  with stdenv.lib;
  