X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/18c1abaac4ad33847e6ab8f4d0cf0d0e7b63d3ad..3067d29d934581307e4f0a9f02a16732f055cf41:/packages/syncthing/no_ioprioSet.patch diff --git a/packages/syncthing/no_ioprioSet.patch b/packages/syncthing/no_ioprioSet.patch new file mode 100644 index 00000000..de550093 --- /dev/null +++ b/packages/syncthing/no_ioprioSet.patch @@ -0,0 +1,19 @@ +diff -uNr syncthing/lib/osutil/lowprio_linux.go syncthing.mod/lib/osutil/lowprio_linux.go +--- syncthing/lib/osutil/lowprio_linux.go 2018-03-06 08:19:07.000000000 +0200 ++++ syncthing.mod/lib/osutil/lowprio_linux.go 2018-05-02 13:03:12.463566932 +0300 +@@ -30,13 +30,8 @@ + ) + + func ioprioSet(class ioprioClass, value int) error { +- res, _, err := syscall.Syscall(syscall.SYS_IOPRIO_SET, +- uintptr(ioprioWhoProcess), 0, +- uintptr(class)<