*: fix builds by disregarding warning from new glibc

Says: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
CC: #4803. There will likely appear more of these errors on Hydra in time.
This commit is contained in:
Vladimír Čunát 2014-11-26 23:37:50 +01:00
parent 3ef186bdb4
commit a68c1adc35
5 changed files with 10 additions and 0 deletions

View file

@ -7,6 +7,8 @@ stdenv.mkDerivation {
(fetchurl { url = "http://mawercer.de/~nix/repos/libwapcaplet-9721.tar.gz"; sha256 = "7f9f32ca772c939d67f3bc8bf0705544c2b2950760da3fe6a4e069ad0f77d91a"; });
# END
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
installPhase = "make PREFIX=$out install";
buildInputs = [];

View file

@ -60,6 +60,8 @@ stdenv.mkDerivation {
else throw "Unsupported system";
GOARM = stdenv.lib.optionalString (stdenv.system == "armv5tel-linux") "5";
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
installPhase = ''
mkdir -p "$out/bin"
export GOROOT="$(pwd)/"

View file

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses libpcap ];
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
meta = with stdenv.lib; {
description = "libpcap based program for live TCP connection monitoring";
homepage = http://www.rhythm.cx/~steve/devel/tcptrack/; # dead link

View file

@ -25,6 +25,8 @@ stdenv.mkDerivation {
buildInputs = [ elfutils python perl newt slang pkgconfig] ++
stdenv.lib.optional withGtk gtk;
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
installFlags = "install install-man ASCIIDOC8=1";
inherit elfutils;

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation {
buildInputs = [ gnutls ];
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
meta = {
homepage = http://inadyn.sourceforge.net/;
description = "Free dynamic DNS client";