anchor.diff:    pname = "texlive-xdvi.bin";
     inherit version;
   
  -  inherit (common) src;
  +  inherit (common) src patches;
   
     nativeBuildInputs = [ pkg-config ];
     buildInputs = [ core/*kpathsea*/ freetype ghostscript ]
  
positive.code: { lib, stdenv, fetchurl
  , texlive
  , zlib, libiconv, libpng, libX11
  , freetype, gd, libXaw, icu, ghostscript, libXpm, libXmu, libXext
  
negative.code:       ];
        sha256 = "0jsq1p66l46k2qq0gbqmx25flj2nprsz4wrd1ybn286p11kdkvvs";
      };
      patches = [
        # Pull upstream fix for -fno-common toolchains.
        (fetchpatch {
          name = "fno-common.patch";
          url = "https://github.com/TeX-Live/texlive-source/commit/7748582aeda70ffa02105f6e3e2fc2476e76aac6.patch";
          sha256 = "1y59cwa41kbg0i071g488jhi9qg0h8l7hqd69brhx2yj95za8c40";
          excludes = [ "texk/xdvik/ChangeLog" ];
        })
      ];
  
      prePatch = ''
        for i in texk/kpathsea/mktex*; do
  