diff options
author | Marko Lindqvist <cazfi74@gmail.com> | 2013-02-11 06:00:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-12 13:22:43 +0000 |
commit | 17541bee4f41eb8c9240a0d962af3f422ac894f3 (patch) | |
tree | 436ad2c9cabd83ccec03abd02debb99a0d1d47df /meta/recipes-support/libevent/libevent-2.0.21 | |
parent | 40962b8a4866c4797cd5daa6223f23c6ac1fac0e (diff) | |
download | poky-17541bee4f41eb8c9240a0d962af3f422ac894f3.tar.gz |
libevent: fix build with automake-1.13
- Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
- Use of $(top_srcdir) in TESTS is an error causing automake-1.13
to abort. Disable the tests completely.
(From OE-Core rev: 751b5e76768d9fa4e40405a12ad008aa9af1561d)
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libevent/libevent-2.0.21')
-rw-r--r-- | meta/recipes-support/libevent/libevent-2.0.21/disable_tests.patch | 15 | ||||
-rw-r--r-- | meta/recipes-support/libevent/libevent-2.0.21/obsolete_automake_macros.patch | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-support/libevent/libevent-2.0.21/disable_tests.patch b/meta/recipes-support/libevent/libevent-2.0.21/disable_tests.patch new file mode 100644 index 0000000000..5d2c69036b --- /dev/null +++ b/meta/recipes-support/libevent/libevent-2.0.21/disable_tests.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status: Inappropriate [disable feature] | ||
2 | |||
3 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
4 | diff -Nurd libevent-2.0.21-stable/test/Makefile.am libevent-2.0.21-stable/test/Makefile.am | ||
5 | --- libevent-2.0.21-stable/test/Makefile.am 2012-05-31 07:08:19.000000000 +0300 | ||
6 | +++ libevent-2.0.21-stable/test/Makefile.am 2013-02-08 02:06:20.227475872 +0200 | ||
7 | @@ -19,8 +19,6 @@ | ||
8 | EXTRA_PROGRAMS = regress | ||
9 | noinst_HEADERS = tinytest.h tinytest_macros.h regress.h tinytest_local.h | ||
10 | |||
11 | -TESTS = $(top_srcdir)/test/test.sh | ||
12 | - | ||
13 | BUILT_SOURCES = | ||
14 | if BUILD_REGRESS | ||
15 | BUILT_SOURCES += regress.gen.c regress.gen.h | ||
diff --git a/meta/recipes-support/libevent/libevent-2.0.21/obsolete_automake_macros.patch b/meta/recipes-support/libevent/libevent-2.0.21/obsolete_automake_macros.patch new file mode 100644 index 0000000000..b55923220c --- /dev/null +++ b/meta/recipes-support/libevent/libevent-2.0.21/obsolete_automake_macros.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status: Submitted [https://sourceforge.net/tracker/?func=detail&aid=3603774&group_id=50884&atid=461322] | ||
2 | |||
3 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
4 | diff -Nurd libevent-2.0.21-stable/configure.in libevent-2.0.21-stable/configure.in | ||
5 | --- libevent-2.0.21-stable/configure.in 2012-11-18 08:34:13.000000000 +0200 | ||
6 | +++ libevent-2.0.21-stable/configure.in 2013-02-08 02:03:58.403476183 +0200 | ||
7 | @@ -12,7 +12,7 @@ | ||
8 | AC_CONFIG_MACRO_DIR([m4]) | ||
9 | |||
10 | AM_INIT_AUTOMAKE(libevent,2.0.21-stable) | ||
11 | -AM_CONFIG_HEADER(config.h) | ||
12 | +AC_CONFIG_HEADERS(config.h) | ||
13 | AC_DEFINE(NUMERIC_VERSION, 0x02001500, [Numeric representation of the version]) | ||
14 | |||
15 | dnl Initialize prefix. | ||