be5369a0cb
* fpc is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
13 lines
454 B
Diff
13 lines
454 B
Diff
--- a/src/Input/FGLinuxEventInput.cxx 2020-06-26 00:08:15.000000000 +0200
|
|
+++ b/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) )
|