about summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-11-28 18:40:19 +0100
committerVladimír Čunát <vcunat@gmail.com>2014-11-28 18:42:03 +0100
commit06c6d4696d47e79b30a8d4ec4cd2dc7f4e135732 (patch)
tree01b8b4e11f3cf57bdaa9d3130beb1b5f05ff6fd1 /pkgs/applications/networking/browsers
parentcacf3f6c1e4dddc3d44b442fbc2cec4d7b935dcb (diff)
downloadnixlib-06c6d4696d47e79b30a8d4ec4cd2dc7f4e135732.tar
nixlib-06c6d4696d47e79b30a8d4ec4cd2dc7f4e135732.tar.gz
nixlib-06c6d4696d47e79b30a8d4ec4cd2dc7f4e135732.tar.bz2
nixlib-06c6d4696d47e79b30a8d4ec4cd2dc7f4e135732.tar.lz
nixlib-06c6d4696d47e79b30a8d4ec4cd2dc7f4e135732.tar.xz
nixlib-06c6d4696d47e79b30a8d4ec4cd2dc7f4e135732.tar.zst
nixlib-06c6d4696d47e79b30a8d4ec4cd2dc7f4e135732.zip
*: 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.
Diffstat (limited to 'pkgs/applications/networking/browsers')
-rw-r--r--pkgs/applications/networking/browsers/mozilla-plugins/fribid/default.nix2
-rw-r--r--pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix2
2 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/fribid/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/fribid/default.nix
index 229aa4f23ba1..3b473019600f 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/fribid/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/fribid/default.nix
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
     ./ipc-lazytrace.patch
     ];
 
+  postPatch = "substituteInPlace plugin/pluginutil.c --replace strndup strndup_";
+
   passthru.mozillaPlugin = "/lib/mozilla/plugins";
 
   meta = {
diff --git a/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix b/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix
index 300e9965092d..1e9f74a1ffd4 100644
--- a/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix
+++ b/pkgs/applications/networking/browsers/netsurf/libsvgtiny.nix
@@ -7,6 +7,8 @@ stdenv.mkDerivation {
                (fetchurl { url = "http://mawercer.de/~nix/repos/libsvgtiny-9721.tar.gz"; sha256 = "0c4c8e357c220218a32ef789eb2ba8226a403d4c2b550d7c65f351a0af5d1a71"; });
   # END
 
+  NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
+
   installPhase = "make PREFIX=$out install";
   buildInputs = [pkgconfig gperf libxml2];