summaryrefslogtreecommitdiff
path: root/devel/distcc/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/distcc/patches/patch-aa')
-rw-r--r--devel/distcc/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/distcc/patches/patch-aa b/devel/distcc/patches/patch-aa
new file mode 100644
index 00000000000..e9e06f6e12b
--- /dev/null
+++ b/devel/distcc/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.6 2003/09/11 07:26:21 martti Exp $
+
+--- src/mon-text.c.orig 2003-09-11 10:22:39.000000000 +0300
++++ src/mon-text.c 2003-09-11 10:23:25.000000000 +0300
+@@ -105,8 +105,8 @@
+
+ printf("\n");
+
+- /* XXX: usleep() is probably not very portable */
+- usleep(delay * 1000000);
++ sleep(delay);
++ usleep((delay - (int)delay) * 1000000);
+ } while (delay);
+
+ return 0;