anchor.diff:      [ "--with-gl" "--with-pam" "--with-pixbuf" "--with-proc-interrupts"
         "--with-dpms-ext" "--with-randr-ext" "--with-xinerama-ext"
         "--with-xf86vmode-ext" "--with-xf86gamma-ext" "--with-randr-ext"
  -      "--with-xshm-ext" "--with-xdbe-ext" "--without-readdisplay"
  +      "--with-xshm-ext" "--with-xdbe-ext"
         "--with-x-app-defaults=\${out}/share/xscreensaver/app-defaults"
       ];
   
  
positive.code:   buildInputs =
      [ pkgconfig bc perl libjpeg mesa gtk libxml2 libglade pam
        libXext libXScrnSaver libX11 libXrandr libXmu libXxf86vm libXrender
        libXxf86misc intltool xorg.appres makeWrapper
      ];
  
    preConfigure =
      ''
        # Fix build error in version 5.18. Remove this patch when updating
        # to a later version.
        #sed -i -e '/AF_LINK/d' hacks/glx/sonar-icmp.c
  
        # Fix installation paths for GTK resources.
        sed -e 's%@GTK_DATADIR@%@datadir@% ; s%@PO_DATADIR@%@datadir@%' \
            -i driver/Makefile.in po/Makefile.in.in
  
negative.code: { stdenv, fetchurl, pkgconfig, bc, perl, pam, libXext, libXScrnSaver, libX11
  , libXrandr, libXmu, libXxf86vm, libXrender, libXxf86misc, libjpeg, mesa, gtk
  , libxml2, libglade, intltool, xorg, makeWrapper, gle
  }:
  
  stdenv.mkDerivation rec {
  