From c4dc998b69312571deece921a5378448b4c153d9 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Fri, 26 Aug 2016 23:46:47 +0200 Subject: chaps: fix build against glibc 2.24 Ignore errors due to using deprecated readdir_r(3). --- pkgs/tools/security/chaps/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/tools/security/chaps') diff --git a/pkgs/tools/security/chaps/default.nix b/pkgs/tools/security/chaps/default.nix index 43e324ec269..2c6b3150089 100644 --- a/pkgs/tools/security/chaps/default.nix +++ b/pkgs/tools/security/chaps/default.nix @@ -31,6 +31,9 @@ stdenv.mkDerivation rec { sha256 = "0chk6pnn365d5kcz6vfqx1d0383ksk97icc0lzg0vvb0kvyj0ff1"; }; + # readdir_r(3) is deprecated in glibc >= 2.24 + NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; + patches = [ ./fix_absolute_path.patch ./fix_environment_variables.patch ./fix_scons.patch ./insert_prefetches.patch ]; postPatch = '' -- cgit 1.4.1