summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2019-09-14 15:46:41 +0200
committerKhem Raj <raj.khem@gmail.com>2019-09-14 07:16:38 -0700
commit19528ba2a6014ebe32b7a3d3099b037330228b88 (patch)
tree63cfa5600712ff0ef6eac4fb93d583b245e76d1d /meta-oe
parent62fc26075afc2d56a73777aad753a643fbdafbfa (diff)
downloadmeta-openembedded-19528ba2a6014ebe32b7a3d3099b037330228b88.tar.gz
evtest: update to 1.34
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-test/evtest/evtest/add_missing_limits_h_include.patch37
-rw-r--r--meta-oe/recipes-test/evtest/evtest_1.34.bb (renamed from meta-oe/recipes-test/evtest/evtest_git.bb)7
2 files changed, 40 insertions, 4 deletions
diff --git a/meta-oe/recipes-test/evtest/evtest/add_missing_limits_h_include.patch b/meta-oe/recipes-test/evtest/evtest/add_missing_limits_h_include.patch
new file mode 100644
index 000000000..b2bf94fd5
--- /dev/null
+++ b/meta-oe/recipes-test/evtest/evtest/add_missing_limits_h_include.patch
@@ -0,0 +1,37 @@
1From 5eb4ab1c139ea38ebe6bb4acba08b09ee7d77d3c Mon Sep 17 00:00:00 2001
2From: Baruch Siach <baruch@tkos.co.il>
3Date: Sun, 18 Aug 2019 10:01:06 +0300
4Subject: Add missing limits.h include
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Fixes build with musl libc that does not include limits.h indirectly via
10other headers.
11
12evtest.c: In function ‘scan_devices’:
13evtest.c:886:14: error: ‘PATH_MAX’ undeclared (first use in this function); did you mean INT8_MAX’?
14 char fname[PATH_MAX];
15 ^~~~~~~~
16
17Signed-off-by: Baruch Siach <baruch@tkos.co.il>
18Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
19---
20 evtest.c | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/evtest.c b/evtest.c
24index 37d4f85..548c203 100644
25--- a/evtest.c
26+++ b/evtest.c
27@@ -56,6 +56,7 @@
28 #include <getopt.h>
29 #include <ctype.h>
30 #include <signal.h>
31+#include <limits.h>
32 #include <sys/time.h>
33 #include <sys/types.h>
34 #include <unistd.h>
35--
36cgit v1.1
37
diff --git a/meta-oe/recipes-test/evtest/evtest_git.bb b/meta-oe/recipes-test/evtest/evtest_1.34.bb
index fa0d6e2fe..3b6dc6140 100644
--- a/meta-oe/recipes-test/evtest/evtest_git.bb
+++ b/meta-oe/recipes-test/evtest/evtest_1.34.bb
@@ -7,10 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
7 7
8DEPENDS = "libxml2" 8DEPENDS = "libxml2"
9 9
10SRCREV = "ab140a2dab1547f7deb5233be6d94a388cf08b26" 10SRCREV = "16e5104127a620686bdddc4a9ad62881134d6c69"
11SRC_URI = "git://anongit.freedesktop.org/evtest;protocol=git" 11SRC_URI = "git://anongit.freedesktop.org/evtest;protocol=git \
12 12 file://add_missing_limits_h_include.patch"
13PV = "1.33+${SRCPV}"
14 13
15S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
16 15