summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libevent/libevent
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:16 +0100
commit028f3aaa29e23f0eff044698e7a39ec327450d49 (patch)
treeb47bb25304c2ff04373e7b0150c496b1e01b8255 /meta/recipes-support/libevent/libevent
parentaa4bc52a0b885c6ed4af5260e54ab6b2348839e3 (diff)
downloadopenembedded-core-028f3aaa29e23f0eff044698e7a39ec327450d49.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. 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>
Diffstat (limited to 'meta/recipes-support/libevent/libevent')
-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 @@
+Fix missing test directory creation.
+
+GCC used in OE-core has "dependency tracking" disabled and
+libevent has problem with this.
+Due to removed makefile.am/in files in test/sample/include
+directories, output directories are not created in
+configuration step. Compilation step will fails, when
+trying to write to non-existing directory.
+
+Upstream-Status: Inappropriate [Other]
+Workaround specific to our build system.
+
+Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
+Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
+
+diff --git a/libevent-2.1.8-stable/test/include.am b/libevent-2.1.8-stable/test/include.am
+index eea249f..d323dff 100644
+--- a/test/include.am
++++ b/test/include.am
+@@ -161,6 +161,7 @@ test_bench_httpclient_LDADD = $(LIBEVENT_GC_SECTIONS) libevent_core.la
+ test/regress.gen.c test/regress.gen.h: test/rpcgen-attempted
+
+ test/rpcgen-attempted: test/regress.rpc event_rpcgen.py test/rpcgen_wrapper.sh
++ @$(MKDIR_P) test
+ $(AM_V_GEN)date -u > $@
+ $(AM_V_at)if $(srcdir)/test/rpcgen_wrapper.sh $(srcdir)/test; then \
+ true; \