flightgear: fix build w/ musl-1.2.1 (time64)
This commit is contained in:
parent
4d0079c993
commit
e86818e899
1 changed files with 13 additions and 0 deletions
13
srcpkgs/flightgear/patches/time64.patch
Normal file
13
srcpkgs/flightgear/patches/time64.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/Input/FGLinuxEventInput.cxx 2020-06-26 00:08:15.000000000 +0200
|
||||
+++ src/Input/FGLinuxEventInput.cxx 2020-12-07 07:51:45.332825252 +0100
|
||||
@@ -415,8 +415,8 @@
|
||||
evt.type=typeCode.type;
|
||||
evt.code = typeCode.code;
|
||||
evt.value = (long)value;
|
||||
- evt.time.tv_sec = 0;
|
||||
- evt.time.tv_usec = 0;
|
||||
+ evt.input_event_sec = 0;
|
||||
+ evt.input_event_usec = 0;
|
||||
size_t bytes_written = write(fd, &evt, sizeof(evt));
|
||||
|
||||
if( bytes_written == sizeof(evt) )
|
Loading…
Add table
Reference in a new issue