From 590e11bc534b90ce8de3eb27753761f2d5af1612 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Fri, 7 Aug 2015 18:13:27 +0200 Subject: [PATCH] mesos: fix build by applying patch from review.apache.org --- .../applications/networking/cluster/mesos/default.nix | 5 +++++ .../networking/cluster/mesos/rb36610.patch | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/applications/networking/cluster/mesos/rb36610.patch diff --git a/pkgs/applications/networking/cluster/mesos/default.nix b/pkgs/applications/networking/cluster/mesos/default.nix index f9c34fdd29d..6f92ca5a6b7 100644 --- a/pkgs/applications/networking/cluster/mesos/default.nix +++ b/pkgs/applications/networking/cluster/mesos/default.nix @@ -19,6 +19,11 @@ in stdenv.mkDerivation rec { sha256 = "1v5xpn4wal4vcrvcklchx9slkpa8xlwqkdbnxzy9zkzpq5g3arxr"; }; + patches = [ + # https://reviews.apache.org/r/36610/ + ./rb36610.patch + ]; + buildInputs = [ makeWrapper autoconf automake114x libtool curl sasl jdk maven python wrapPython boto distutils-cfg setuptools leveldb diff --git a/pkgs/applications/networking/cluster/mesos/rb36610.patch b/pkgs/applications/networking/cluster/mesos/rb36610.patch new file mode 100644 index 00000000000..c3b1b290422 --- /dev/null +++ b/pkgs/applications/networking/cluster/mesos/rb36610.patch @@ -0,0 +1,11 @@ +diff --git a/src/linux/fs.cpp b/src/linux/fs.cpp +index ea0891e320154b85a21ed2d138c192821efae9cd..7b24c377c9a28cad91738305c273fb53a4dc7365 100644 +--- a/src/linux/fs.cpp ++++ b/src/linux/fs.cpp +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + + #include