package/xen: fix build with 64 bits time_t
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 28 Aug 2021 09:09:53 +0000 (11:09 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 28 Aug 2021 13:50:46 +0000 (15:50 +0200)
commit7ba9967287d2ae0063a0ce5ab1980221f04d3ed8
tree0ee4323c9b512cce89d4fc36f434046011e589a9
parente63c8ceeea0aeb2c499b994dc0c819e3234c5e3a
package/xen: fix build with 64 bits time_t

Fix build of xen with 64 bites time_t:

/tmp/instance-0/output-1/build/xen-4.14.2/tools/qemu-xen/hw/input/virtio-input-host.c: In function 'virtio_input_host_handle_status':
/tmp/instance-0/output-1/build/xen-4.14.2/tools/qemu-xen/hw/input/virtio-input-host.c:198:28: error: 'struct input_event' has no member named 'time'
  198 |     if (gettimeofday(&evdev.time, NULL)) {
      |                            ^

Fixes:
 - http://autobuild.buildroot.org/results/136ce42f44bf48d3db4eda7b1548bf7ac1b97d51

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/xen/0003-Fix-build-with-64-bits-time_t.patch [new file with mode: 0644]
package/xen/0004-libs-light-fix-tv_sec-printf-format.patch [new file with mode: 0644]
package/xen/0005-libs-light-fix-tv_sec-fprintf-format.patch [new file with mode: 0644]