linux511-tkg: winesync: Add changes talked about on Discord regarding the patchset, that should help with/fix performance problems and add QoL improvements:

- Add the header file to build wine to the package, until fixed upstream
- Add a winesync.conf to /etc/modules-load.d to autoload the module on boot
This commit is contained in:
Tk-Glitch
2021-03-14 17:19:45 +01:00
parent b682f0d862
commit 3690ee0bc1
3 changed files with 16 additions and 3 deletions

View File

@@ -619,7 +619,7 @@ index 8f105437e7b6..c9ef1511342f 100644
+{
+ int ret = 0;
+
+ if (timeout < 0)
+ if (timeout <= 0)
+ return 0;
+
+ do {
@@ -660,7 +660,7 @@ index 8f105437e7b6..c9ef1511342f 100644
+ if (!timespec64_valid(&to))
+ return -EINVAL;
+
+ ktime_get_coarse_ts64(&ts);
+ ktime_get_ts64(&ts);
+ if (timespec64_compare(&to, &ts) <= 0) {
+ timeout = 0;
+ } else {