From 19528ba2a6014ebe32b7a3d3099b037330228b88 Mon Sep 17 00:00:00 2001 From: Oleksandr Kravchuk Date: Sat, 14 Sep 2019 15:46:41 +0200 Subject: evtest: update to 1.34 Signed-off-by: Oleksandr Kravchuk Signed-off-by: Khem Raj --- .../evtest/add_missing_limits_h_include.patch | 37 ++++++++++++++++++++++ meta-oe/recipes-test/evtest/evtest_1.34.bb | 16 ++++++++++ meta-oe/recipes-test/evtest/evtest_git.bb | 17 ---------- 3 files changed, 53 insertions(+), 17 deletions(-) create mode 100644 meta-oe/recipes-test/evtest/evtest/add_missing_limits_h_include.patch create mode 100644 meta-oe/recipes-test/evtest/evtest_1.34.bb delete mode 100644 meta-oe/recipes-test/evtest/evtest_git.bb 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 0000000000..b2bf94fd56 --- /dev/null +++ b/meta-oe/recipes-test/evtest/evtest/add_missing_limits_h_include.patch @@ -0,0 +1,37 @@ +From 5eb4ab1c139ea38ebe6bb4acba08b09ee7d77d3c Mon Sep 17 00:00:00 2001 +From: Baruch Siach +Date: Sun, 18 Aug 2019 10:01:06 +0300 +Subject: Add missing limits.h include +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes build with musl libc that does not include limits.h indirectly via +other headers. + +evtest.c: In function ‘scan_devices’: +evtest.c:886:14: error: ‘PATH_MAX’ undeclared (first use in this function); did you mean INT8_MAX’? + char fname[PATH_MAX]; + ^~~~~~~~ + +Signed-off-by: Baruch Siach +Signed-off-by: Peter Hutterer +--- + evtest.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/evtest.c b/evtest.c +index 37d4f85..548c203 100644 +--- a/evtest.c ++++ b/evtest.c +@@ -56,6 +56,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +cgit v1.1 + diff --git a/meta-oe/recipes-test/evtest/evtest_1.34.bb b/meta-oe/recipes-test/evtest/evtest_1.34.bb new file mode 100644 index 0000000000..3b6dc61408 --- /dev/null +++ b/meta-oe/recipes-test/evtest/evtest_1.34.bb @@ -0,0 +1,16 @@ +SUMMARY = "Simple tool for input event debugging" +HOMEPAGE = "http://people.freedesktop.org/~whot/evtest/" +AUTHOR = "Vojtech Pavlik " +SECTION = "console/utils" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +DEPENDS = "libxml2" + +SRCREV = "16e5104127a620686bdddc4a9ad62881134d6c69" +SRC_URI = "git://anongit.freedesktop.org/evtest;protocol=git \ + file://add_missing_limits_h_include.patch" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig diff --git a/meta-oe/recipes-test/evtest/evtest_git.bb b/meta-oe/recipes-test/evtest/evtest_git.bb deleted file mode 100644 index fa0d6e2fe5..0000000000 --- a/meta-oe/recipes-test/evtest/evtest_git.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "Simple tool for input event debugging" -HOMEPAGE = "http://people.freedesktop.org/~whot/evtest/" -AUTHOR = "Vojtech Pavlik " -SECTION = "console/utils" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" - -DEPENDS = "libxml2" - -SRCREV = "ab140a2dab1547f7deb5233be6d94a388cf08b26" -SRC_URI = "git://anongit.freedesktop.org/evtest;protocol=git" - -PV = "1.33+${SRCPV}" - -S = "${WORKDIR}/git" - -inherit autotools pkgconfig -- cgit 1.2.3-korg