anchor.diff:      platforms = stdenv.lib.platforms.all;
     };
   }
  +
  +//
  +
  +stdenv.lib.optionalAttrs stdenv.isCygwin {
  +  patchPhase =
  +   # Make sure `error.c' gets compiled and is part of `libgettextlib.la'.
  +   # This fixes:
  +   # gettext-0.18.1.1/gettext-tools/src/msgcmp.c:371: undefined reference to `_error_message_count'
  +
  +   '' sed -i gettext-tools/gnulib-lib/Makefile.in \
  +          -e 's/am_libgettextlib_la_OBJECTS =/am_libgettextlib_la_OBJECTS = error.lo/g'
  +   '';
  +})
  
positive.code:     sha256 = "1sa3ch12qxa4h3ya6hkz119yclcccmincl9j20dhrdx5mykp3b4k";
    };
  
    configureFlags = "--disable-csharp";
  
    # On cross building, gettext supposes that the wchar.h from libc
    # does not fulfill gettext needs, so it tries to work with its
  
negative.code: { stdenv, fetchurl, libiconv }:
  
  stdenv.mkDerivation (rec {
    name = "gettext-0.18.1.1";
    
    src = fetchurl {
  