diff options
-rw-r--r-- | recipes-containers/lxc/files/lxc-0.9.0-configure-allow-subdir-objects.patch | 35 | ||||
-rw-r--r-- | recipes-containers/lxc/lxc_0.9.0.bb | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/recipes-containers/lxc/files/lxc-0.9.0-configure-allow-subdir-objects.patch b/recipes-containers/lxc/files/lxc-0.9.0-configure-allow-subdir-objects.patch new file mode 100644 index 00000000..3b4dd845 --- /dev/null +++ b/recipes-containers/lxc/files/lxc-0.9.0-configure-allow-subdir-objects.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From f3b86b0704cb62b77d80b90b40c1df68289d3558 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
3 | Date: Fri, 31 Jan 2014 15:37:24 -0500 | ||
4 | Subject: [PATCH] configure: allow subdir objects | ||
5 | |||
6 | autoconf-1.14 will fail to configure lxc with the following warning (and | ||
7 | hence error): | ||
8 | |||
9 | | automake: warnings are treated as errors | ||
10 | | src/lxc/Makefile.am:79: warning: source file '../include/openpty.c' is in a subdirectory, | ||
11 | | src/lxc/Makefile.am:79: but option 'subdir-objects' is disabled | ||
12 | |||
13 | So we tell autoconf that subdir objects are fine .. and the issue is solved. | ||
14 | |||
15 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
16 | --- | ||
17 | configure.ac | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/configure.ac b/configure.ac | ||
21 | index 7dc82cfbcb8d..27ba250df3ac 100644 | ||
22 | --- a/configure.ac | ||
23 | +++ b/configure.ac | ||
24 | @@ -6,7 +6,7 @@ AC_INIT([lxc], [0.9.0]) | ||
25 | AC_CONFIG_SRCDIR([configure.ac]) | ||
26 | AC_CONFIG_AUX_DIR([config]) | ||
27 | AC_CONFIG_HEADERS([src/config.h]) | ||
28 | -AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability]) | ||
29 | +AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability subdir-objects]) | ||
30 | AC_CANONICAL_HOST | ||
31 | AM_PROG_CC_C_O | ||
32 | AC_GNU_SOURCE | ||
33 | -- | ||
34 | 1.7.10.4 | ||
35 | |||
diff --git a/recipes-containers/lxc/lxc_0.9.0.bb b/recipes-containers/lxc/lxc_0.9.0.bb index f960a1f8..cbe3f7a1 100644 --- a/recipes-containers/lxc/lxc_0.9.0.bb +++ b/recipes-containers/lxc/lxc_0.9.0.bb | |||
@@ -28,6 +28,7 @@ SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \ | |||
28 | file://lxc-0.9.0-don-t-let-LXC_PATH-end-in-failure.patch \ | 28 | file://lxc-0.9.0-don-t-let-LXC_PATH-end-in-failure.patch \ |
29 | file://lxc-0.9.0-setup_netdev-re-read-ifindex-in-LXC_NET_PHYS-case.patch \ | 29 | file://lxc-0.9.0-setup_netdev-re-read-ifindex-in-LXC_NET_PHYS-case.patch \ |
30 | file://lxc-0.9.0-use-susv3-head-arguments.patch \ | 30 | file://lxc-0.9.0-use-susv3-head-arguments.patch \ |
31 | file://lxc-0.9.0-configure-allow-subdir-objects.patch \ | ||
31 | " | 32 | " |
32 | SRC_URI[md5sum] = "8552a4479090616f4bc04d8473765fc9" | 33 | SRC_URI[md5sum] = "8552a4479090616f4bc04d8473765fc9" |
33 | SRC_URI[sha256sum] = "1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120" | 34 | SRC_URI[sha256sum] = "1e1767eae6cc5fbf892c0e193d25da420ba19f2db203716c38f7cdea3b654120" |