summaryrefslogtreecommitdiff
path: root/source/x/fontconfig/fedora-patches/fontconfig-sleep-less.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/fontconfig/fedora-patches/fontconfig-sleep-less.patch')
-rw-r--r--source/x/fontconfig/fedora-patches/fontconfig-sleep-less.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/x/fontconfig/fedora-patches/fontconfig-sleep-less.patch b/source/x/fontconfig/fedora-patches/fontconfig-sleep-less.patch
new file mode 100644
index 00000000..bd9c58c0
--- /dev/null
+++ b/source/x/fontconfig/fedora-patches/fontconfig-sleep-less.patch
@@ -0,0 +1,12 @@
+diff -pruN fontconfig-2.12.91.orig/fc-cache/fc-cache.c fontconfig-2.12.91/fc-cache/fc-cache.c
+--- fontconfig-2.12.91.orig/fc-cache/fc-cache.c 2017-11-20 21:02:20.000000000 +0900
++++ fontconfig-2.12.91/fc-cache/fc-cache.c 2017-12-14 16:59:19.002003145 +0900
+@@ -413,7 +413,7 @@ main (int argc, char **argv)
+ */
+ /* the resolution of mtime on FAT is 2 seconds */
+ if (changed)
+- sleep (2);
++ sleep (1);
+ if (verbose)
+ printf ("%s: %s\n", argv[0], ret ? _("failed") : _("succeeded"));
+ return ret;