diff options
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-test/evtest/evtest/add_missing_limits_h_include.patch | 37 | ||||
-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 @@ | |||
1 | From 5eb4ab1c139ea38ebe6bb4acba08b09ee7d77d3c Mon Sep 17 00:00:00 2001 | ||
2 | From: Baruch Siach <baruch@tkos.co.il> | ||
3 | Date: Sun, 18 Aug 2019 10:01:06 +0300 | ||
4 | Subject: Add missing limits.h include | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Fixes build with musl libc that does not include limits.h indirectly via | ||
10 | other headers. | ||
11 | |||
12 | evtest.c: In function ‘scan_devices’: | ||
13 | evtest.c:886:14: error: ‘PATH_MAX’ undeclared (first use in this function); did you mean INT8_MAX’? | ||
14 | char fname[PATH_MAX]; | ||
15 | ^~~~~~~~ | ||
16 | |||
17 | Signed-off-by: Baruch Siach <baruch@tkos.co.il> | ||
18 | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> | ||
19 | --- | ||
20 | evtest.c | 1 + | ||
21 | 1 file changed, 1 insertion(+) | ||
22 | |||
23 | diff --git a/evtest.c b/evtest.c | ||
24 | index 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 | -- | ||
36 | cgit 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 | ||
8 | DEPENDS = "libxml2" | 8 | DEPENDS = "libxml2" |
9 | 9 | ||
10 | SRCREV = "ab140a2dab1547f7deb5233be6d94a388cf08b26" | 10 | SRCREV = "16e5104127a620686bdddc4a9ad62881134d6c69" |
11 | SRC_URI = "git://anongit.freedesktop.org/evtest;protocol=git" | 11 | SRC_URI = "git://anongit.freedesktop.org/evtest;protocol=git \ |
12 | 12 | file://add_missing_limits_h_include.patch" | |
13 | PV = "1.33+${SRCPV}" | ||
14 | 13 | ||
15 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
16 | 15 | ||