mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
*: 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:
parent
3ef186bdb4
commit
a68c1adc35
@ -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 = [];
|
||||
|
||||
|
@ -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)/"
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user