mesos: fix build by applying patch from review.apache.org

This commit is contained in:
Pascal Wittmann 2015-08-07 18:13:27 +02:00
parent 45c284c955
commit 590e11bc53
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -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 <errno.h>
#include <stdio.h>
#include <string.h>
+#include <syscall.h>
#include <linux/limits.h>