On 2024-09-16, at 12:32:59 +0200, Andreas Tille wrote: > Control: tags -1 help > Control: tags -1 confirmed > Thanks > > Hi, > > since input-utils showed up as Bug of the Day[1] I worked down the list > of bugs including upgrading to latest upstream. Unfortunately the FTBFS > for several 32bit architectures (not only armhf) remains[2]. > > Since I have no experience with these architectures I'd kindly ask for > help here. > > Kind regards > Andreas. > > [1] https://salsa.debian.org/tille/tiny_qa_tools/-/wikis/Tiny-QA-tasks > [2] https://buildd.debian.org/status/package.php?p=input-utils Try this patch. J.
--- a/input.c
+++ b/input.c
@@ -209,9 +209,9 @@
char ts[32];
time_t t;
- t = event->time.tv_sec;
+ t = event->input_event_sec;
strftime(ts,sizeof(ts),"%H:%M:%S",localtime(&t));
- printf("%s.%06ld: %s",ts,event->time.tv_usec,
+ printf("%s.%06ld: %s",ts,event->input_event_usec,
EV_NAME[event->type]);
switch (event->type) {
case EV_KEY:
--- a/input-send.c
+++ b/input-send.c
@@ -73,8 +73,8 @@
print_event(ev);
/* convert to network byte order ... */
- ev->time.tv_sec = htonl(ev->time.tv_sec);
- ev->time.tv_usec = htonl(ev->time.tv_usec);
+ ev->input_event_sec = htonl(ev->input_event_sec);
+ ev->input_event_usec = htonl(ev->input_event_usec);
ev->type = htons(ev->type);
ev->code = htons(ev->code);
ev->value = htonl(ev->value);
Attachment:
signature.asc
Description: PGP signature