anchor.diff:        xproto renderproto xextproto inputproto randrproto
       ];
   
  -    javaAwtGtk = langJava && gtk != null;
  +    javaAwtGtk = langJava && x11Support;
   
       /* Platform flags */
       platformFlags = let
  
positive.code: , libelf                      # optional, for link-time optimizations (LTO)
  , cloog ? null, isl ? null # optional, for the Graphite optimization framework.
  , zlib ? null, boehmgc ? null
  , zip ? null, unzip ? null, pkgconfig ? null, gtk ? null, libart_lgpl ? null
  , libX11 ? null, libXt ? null, libSM ? null, libICE ? null, libXtst ? null
  , libXrender ? null, xproto ? null, renderproto ? null, xextproto ? null
  , libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
  , gnatboot ? null
  , enableMultilib ? false
  , enablePlugin ? true             # whether to support user-supplied plug-ins
  
negative.code: in
  
  # We need all these X libraries when building AWT with GTK+.
  assert x11Support -> (filter (x: x == null) ([ gtk libart_lgpl ] ++ xlibs)) == [];
  
  stdenv.mkDerivation ({
    name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
  