From 3cfb3cb312bfc4f66c2ae8a3be612f545c92e800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= Date: Sun, 1 Sep 2019 15:51:07 +0200 Subject: [PATCH] evtest: update to 1.34. --- .../0001-Add-missing-limits.h-include.patch | 37 +++++++++++++++++++ srcpkgs/evtest/template | 6 +-- 2 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/evtest/patches/0001-Add-missing-limits.h-include.patch diff --git a/srcpkgs/evtest/patches/0001-Add-missing-limits.h-include.patch b/srcpkgs/evtest/patches/0001-Add-missing-limits.h-include.patch new file mode 100644 index 00000000000..88ccfc13fdd --- /dev/null +++ b/srcpkgs/evtest/patches/0001-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: [PATCH] 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 evtest.c evtest.c +index 37d4f85..548c203 100644 +--- evtest.c ++++ evtest.c +@@ -56,6 +56,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.23.0 + diff --git a/srcpkgs/evtest/template b/srcpkgs/evtest/template index b5e0c956c7f..1feed55a9d6 100644 --- a/srcpkgs/evtest/template +++ b/srcpkgs/evtest/template @@ -1,7 +1,7 @@ # Template file for 'evtest' pkgname=evtest -version=1.33 -revision=2 +version=1.34 +revision=1 build_style=gnu-configure hostmakedepends="automake" short_desc="Command line tool for displaying device input information" @@ -9,7 +9,7 @@ maintainer="sen " license="GPL-2.0-or-later" homepage="https://cgit.freedesktop.org/evtest/" distfiles="https://cgit.freedesktop.org/evtest/snapshot/evtest-${version}.tar.xz" -checksum=928f6e81c73bd71ce88be03f7fdad204087a04dccd0250462106af0c2d813532 +checksum=e49f1f160b30c8f7c2a4caef5ab655f1caf816483d19fdedd6db2d251d7ab80e pre_configure() { autoreconf -fi