summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch
diff options
context:
space:
mode:
authorAndrej Valek <andrej.valek@siemens.com>2017-04-25 08:11:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-16 14:08:29 +0100
commit2865683b6ab82663b1dc03809fc2262173ade4a3 (patch)
tree19bc892382a5e1f52ca66de199f542f8327d0c98 /meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch
parentc43c3ec8f96245ca2806cf28329919e44a83d326 (diff)
downloadpoky-2865683b6ab82663b1dc03809fc2262173ade4a3.tar.gz
libevent: 2.0.22 -> 2.1.8
Update libevent to version 2.1.8 and fix test directory creation License file has been changed due to new MIT license in source code. (From OE-Core rev: 028f3aaa29e23f0eff044698e7a39ec327450d49) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch')
-rw-r--r--meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch b/meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch
new file mode 100644
index 0000000000..8880bd0407
--- /dev/null
+++ b/meta/recipes-support/libevent/libevent/Makefile-missing-test-dir.patch
@@ -0,0 +1,27 @@
1Fix missing test directory creation.
2
3GCC used in OE-core has "dependency tracking" disabled and
4libevent has problem with this.
5Due to removed makefile.am/in files in test/sample/include
6directories, output directories are not created in
7configuration step. Compilation step will fails, when
8trying to write to non-existing directory.
9
10Upstream-Status: Inappropriate [Other]
11Workaround specific to our build system.
12
13Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
14Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
15
16diff --git a/libevent-2.1.8-stable/test/include.am b/libevent-2.1.8-stable/test/include.am
17index eea249f..d323dff 100644
18--- a/test/include.am
19+++ b/test/include.am
20@@ -161,6 +161,7 @@ test_bench_httpclient_LDADD = $(LIBEVENT_GC_SECTIONS) libevent_core.la
21 test/regress.gen.c test/regress.gen.h: test/rpcgen-attempted
22
23 test/rpcgen-attempted: test/regress.rpc event_rpcgen.py test/rpcgen_wrapper.sh
24+ @$(MKDIR_P) test
25 $(AM_V_GEN)date -u > $@
26 $(AM_V_at)if $(srcdir)/test/rpcgen_wrapper.sh $(srcdir)/test; then \
27 true; \