anchor.diff:  , unicode ? true
   
   , gpm
  +
  +, buildPlatform, hostPlatform
  +, buildPackages
   }:
   let
     version = if abiVersion == "5" then "5.9" else "6.0";
  
positive.code:   # Only the C compiler, and explicitly not C++ compiler needs this flag on solaris:
    CFLAGS = lib.optionalString stdenv.isSunOS "-D_XOPEN_SOURCE_EXTENDED";
  
    nativeBuildInputs = [ pkgconfig ];
    buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm;
  
    preConfigure = ''
  
negative.code:     sed -i -e 's,LIB_SUFFIX="t,LIB_SUFFIX=",' configure
    '';
  
    # Here only for native hash, remove on next mass rebuild
    selfNativeBuildInput = buildPlatform == hostPlatform;
  
    enableParallelBuilding = true;
  
  