Fix some packages that referred to gets()

Glibc no longer defines gets() if _GNU_SOURCE is defined.
This commit is contained in:
Eelco Dolstra
2012-09-18 14:05:23 -04:00
parent aa34058205
commit fcc18aad0a
4 changed files with 71 additions and 1 deletions
@@ -8,6 +8,8 @@ stdenv.mkDerivation (rec {
sha256 = "1sa3ch12qxa4h3ya6hkz119yclcccmincl9j20dhrdx5mykp3b4k";
};
patches = [ ./no-gets.patch ];
configureFlags = [ "--disable-csharp" ]
++ (stdenv.lib.optionals stdenv.isCygwin
[ # We have a static libiconv, so we can only build the static lib.