*: fix builds by disregarding warning from new glibc

Also, in case of collectd, the -lgcc_s shouldn't be needed anymore,
as the library is in ${glibc}/lib/ now, which is practically always on RPATH.

In case of seyren it was some stdenv change uncovering the mistake of
putting src into buildInputs.

+16 -3
+3
pkgs/applications/misc/monero/default.nix
··· 16 16 # these tests take a long time and don't 17 17 # always complete in the build environment 18 18 postPatch = "sed -i '/add_subdirectory(tests)/d' CMakeLists.txt"; 19 + 20 + NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; 21 + 19 22 doCheck = false; 20 23 checkTarget = "test-release"; # this would be the target 21 24
+2
pkgs/applications/networking/browsers/mozilla-plugins/fribid/default.nix
··· 17 17 ./ipc-lazytrace.patch 18 18 ]; 19 19 20 + postPatch = "substituteInPlace plugin/pluginutil.c --replace strndup strndup_"; 21 + 20 22 passthru.mozillaPlugin = "/lib/mozilla/plugins"; 21 23 22 24 meta = {
+2
pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix
··· 7 7 (fetchurl { url = "http://mawercer.de/~nix/repos/libsvgtiny-9721.tar.gz"; sha256 = "0c4c8e357c220218a32ef789eb2ba8226a403d4c2b550d7c65f351a0af5d1a71"; }); 8 8 # END 9 9 10 + NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; 11 + 10 12 installPhase = "make PREFIX=$out install"; 11 13 buildInputs = [pkgconfig gperf libxml2]; 12 14
+2
pkgs/os-specific/linux/disk-indicator/default.nix
··· 18 18 19 19 buildPhase = "make -f makefile"; 20 20 21 + NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; 22 + 21 23 installPhase = '' 22 24 mkdir -p "$out/bin" 23 25 cp ./disk_indicator "$out/bin/"
+1 -1
pkgs/servers/monitoring/seyren/default.nix
··· 11 11 12 12 phases = ["installPhase"]; 13 13 14 - buildInputs = [ makeWrapper jre src ]; 14 + buildInputs = [ makeWrapper jre ]; 15 15 16 16 installPhase = '' 17 17 mkdir -p "$out"/bin
+2
pkgs/servers/sip/freeswitch/default.nix
··· 12 12 buildInputs = [ ncurses curl pkgconfig gnutls readline openssl perl libjpeg 13 13 libzrtpcpp ]; 14 14 15 + NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; 16 + 15 17 meta = { 16 18 description = "Cross-Platform Scalable FREE Multi-Protocol Soft Switch"; 17 19 homepage = http://freeswitch.org/;
+2
pkgs/servers/sql/mariadb/default.nix
··· 17 17 18 18 cmakeFlags = [ "-DWITH_READLINE=yes" "-DWITH_EMBEDDED_SERVER=yes" "-DINSTALL_SCRIPTDIR=bin" ]; 19 19 20 + NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; 21 + 20 22 enableParallelBuilding = true; 21 23 22 24 prePatch = ''
+2 -2
pkgs/tools/system/collectd/default.nix
··· 33 33 sha256 = "1q365zx6d1wyhv7n97bagfxqnqbhj2j14zz552nhmjviy8lj2ibm"; 34 34 }; 35 35 36 - NIX_LDFLAGS = "-lgcc_s"; # for pthread_cancel 37 - 38 36 buildInputs = [ 39 37 pkgconfig curl iptables libcredis libdbi libgcrypt libmemcached cyrus_sasl 40 38 libmodbus libnotify gdk_pixbuf liboping libpcap libsigrok libvirt ··· 44 42 45 43 # for some reason libsigrok isn't auto-detected 46 44 configureFlags = stdenv.lib.optional (libsigrok != null) "--with-libsigrok"; 45 + 46 + NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; 47 47 48 48 meta = with stdenv.lib; { 49 49 description = "Daemon which collects system performance statistics periodically";