summaryrefslogtreecommitdiff
path: root/user/v4l-utils
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-20 17:58:58 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-20 17:58:58 +0000
commit5f47dff0f92b6d48b3b16a7d619cad51c2d55b0e (patch)
treeca4a41c7ea492f6f64c75f82cae9320d776af965 /user/v4l-utils
parentc360fb7ccd7fcf5e08088a5f179b47112d0d374e (diff)
downloadpackages-5f47dff0f92b6d48b3b16a7d619cad51c2d55b0e.tar.gz
packages-5f47dff0f92b6d48b3b16a7d619cad51c2d55b0e.tar.bz2
packages-5f47dff0f92b6d48b3b16a7d619cad51c2d55b0e.tar.xz
packages-5f47dff0f92b6d48b3b16a7d619cad51c2d55b0e.zip
user/v4l-utils: Fix time64 issue
Diffstat (limited to 'user/v4l-utils')
-rw-r--r--user/v4l-utils/APKBUILD2
-rw-r--r--user/v4l-utils/time64.patch11
2 files changed, 13 insertions, 0 deletions
diff --git a/user/v4l-utils/APKBUILD b/user/v4l-utils/APKBUILD
index 0cc0932ed..2c6857f78 100644
--- a/user/v4l-utils/APKBUILD
+++ b/user/v4l-utils/APKBUILD
@@ -15,6 +15,7 @@ source="https://www.linuxtv.org/downloads/v4l-utils/$pkgname-$pkgver.tar.bz2
qv4l2.svg
qv4l2.desktop
getsubopt.patch
+ time64.patch
types.patch
"
@@ -79,4 +80,5 @@ sha512sums="749c804671f039d907bf782cba5d1c23fff48066f3b6d4a0249fb9b65c493ee3945b
bc18280046c15b19984103f7c2bb44a0aea79715803c64f0c64bc932499c09022c956914c3b15ae59499adc09f6fbff5378be45707fe851250f495a26b63d682 qv4l2.svg
6f74aa524b3de420eeb8de788ff3f717020732a3f1f6530caee50e63aae7eddbe5f551ffc50065c9f5d6078c13bace089948ecdcacf01f8b82c1a44960e06315 qv4l2.desktop
a09554deebd7597355c688e52180e0f4030842ccb26a144d1ac8a426836374237725d7b6b555027ca72e10c11e37bd596c7d69d87ee2f6b6d951daf4e50137f8 getsubopt.patch
+16154d57ea0b2e231217894495ef4ecf55d45e97c936034d4bbb0dab88f2d3e8779073302fbba759bd60e124a2cefe2b83675952cd50c413d957c81c9b0b8b53 time64.patch
ee1228cc06e399923953e5121a683347a7fe881c80c55faae0adf6ed836251da1b2c4d1561454daa6f42220c1171f827ca3e2b72cdac31b379495f23ff6c56bb types.patch"
diff --git a/user/v4l-utils/time64.patch b/user/v4l-utils/time64.patch
new file mode 100644
index 000000000..42092a773
--- /dev/null
+++ b/user/v4l-utils/time64.patch
@@ -0,0 +1,11 @@
+--- v4l-utils-1.18.0/utils/keytable/keytable.c.old 2019-09-22 09:22:54.000000000 +0000
++++ v4l-utils-1.18.0/utils/keytable/keytable.c 2020-01-20 02:38:23.659004998 +0000
+@@ -1533,7 +1533,7 @@
+
+ for (i = 0; i < rd / sizeof(struct input_event); i++) {
+ printf(_("%ld.%06ld: event type %s(0x%02x)"),
+- ev[i].time.tv_sec, ev[i].time.tv_usec,
++ ev[i].input_event_sec, ev[i].input_event_usec,
+ get_event_name(events_type, ev[i].type), ev[i].type);
+
+ switch (ev[i].type) {