aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2015-02-10 22:59:30 +0100
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2015-02-10 22:59:30 +0100
commit73b4ff3dcfa7d21c989406fff6974972de0a4c66 (patch)
treeb646188466d0aae0fb9231982011518a7174ae21
parent93706c7f3f9ddd64810d94989d90408680bddd9f (diff)
downloadaports-73b4ff3dcfa7d21c989406fff6974972de0a4c66.tar.bz2
aports-73b4ff3dcfa7d21c989406fff6974972de0a4c66.tar.xz
main/docker: try to fix build
-rw-r--r--main/docker/APKBUILD10
-rw-r--r--main/docker/docker-1.5.0-include-sys-stat.patch12
2 files changed, 19 insertions, 3 deletions
diff --git a/main/docker/APKBUILD b/main/docker/APKBUILD
index 54a143bce2..3bad3d0a18 100644
--- a/main/docker/APKBUILD
+++ b/main/docker/APKBUILD
@@ -19,6 +19,7 @@ subpackages="
source="
$pkgname-$pkgver.tar.gz::https://github.com/docker/docker/archive/v$pkgver.tar.gz
docker.init-ulimit-fix.patch
+ docker-1.5.0-include-sys-stat.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -86,8 +87,11 @@ vim() {
}
md5sums="a622207cd9eb21d95333501d2495ef5d docker-1.5.0.tar.gz
-265bb875f508b7aeaa369cd1692b2caa docker.init-ulimit-fix.patch"
+265bb875f508b7aeaa369cd1692b2caa docker.init-ulimit-fix.patch
+62e02c0e0eb9727e198381a0a8de0763 docker-1.5.0-include-sys-stat.patch"
sha256sums="cf97a1b3a75a63d3b7cb743b5376a1b1bc00eac651dce9e3f094202901a43c48 docker-1.5.0.tar.gz
-e7c4d5be9ea9090abb531feed91d5d47464283bec66474e263075db211556c72 docker.init-ulimit-fix.patch"
+e7c4d5be9ea9090abb531feed91d5d47464283bec66474e263075db211556c72 docker.init-ulimit-fix.patch
+448d4818c455e1223cc5c4ce4f6ef9a892ee6fbb4b56be2947f8d1ac7b13b329 docker-1.5.0-include-sys-stat.patch"
sha512sums="cc620570c67454bedfae73de86b722a845fce4b0bd46446d1190ae98917010db54fbf82951167ebf62358e53dedb45fff2a7f25014c79b42efc2a5f2b611b4d9 docker-1.5.0.tar.gz
-d677d0540d3106b42d7745f61ece8e017301771d808ce81c28378543e13dbf5655092d9c1745e84227159882cd9af8c7211a146c716cb5ed10e6b15438611973 docker.init-ulimit-fix.patch"
+d677d0540d3106b42d7745f61ece8e017301771d808ce81c28378543e13dbf5655092d9c1745e84227159882cd9af8c7211a146c716cb5ed10e6b15438611973 docker.init-ulimit-fix.patch
+e1cf20314518269323b9808e65877f86be5def0366a390576eca1364de118d1dcea07878eee39ab98a2785baac3abc3619c40566c43662bd421492202294ea36 docker-1.5.0-include-sys-stat.patch"
diff --git a/main/docker/docker-1.5.0-include-sys-stat.patch b/main/docker/docker-1.5.0-include-sys-stat.patch
new file mode 100644
index 0000000000..156b0310d4
--- /dev/null
+++ b/main/docker/docker-1.5.0-include-sys-stat.patch
@@ -0,0 +1,12 @@
+diff --git a/vendor/src/github.com/docker/libcontainer/namespaces/nsenter/nsenter.c b/vendor/src/github.com/docker/libcontainer/namespaces/nsenter/nsenter.c
+index 4ab2177..b267858 100644
+--- a/vendor/src/github.com/docker/libcontainer/namespaces/nsenter/nsenter.c
++++ b/vendor/src/github.com/docker/libcontainer/namespaces/nsenter/nsenter.c
+@@ -11,6 +11,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/prctl.h>
++#include <sys/stat.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <getopt.h>