From 67a1c3df94443948d177f0642e7bffb1e4f7f402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Mon, 25 Mar 2013 21:52:01 +0100 Subject: [PATCH] LinuxSampler: fix the build by disabling a check for a bug Without the --disable-nptl-bug-check configure option LinuxSampler refuses to build. It seems to be a long standing bug. Despite this, I have used LinuxSampler for over a week now and it seems OK. --- pkgs/applications/audio/linuxsampler/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/audio/linuxsampler/default.nix b/pkgs/applications/audio/linuxsampler/default.nix index c74cd2b0d7d..d9413c03154 100644 --- a/pkgs/applications/audio/linuxsampler/default.nix +++ b/pkgs/applications/audio/linuxsampler/default.nix @@ -13,6 +13,10 @@ stdenv.mkDerivation rec { patches = ./linuxsampler_lv2_sfz_fix.diff; + # It fails to compile without this option. I'm not sure what the bug + # is, but everything works OK for me (goibhniu). + configureFlags = [ "--disable-nptl-bug-check" ]; + preConfigure = '' sed -e 's/which/type -P/g' -i scripts/generate_parser.sh make -f Makefile.cvs