diff options
author | martti <martti> | 2003-09-11 07:26:20 +0000 |
---|---|---|
committer | martti <martti> | 2003-09-11 07:26:20 +0000 |
commit | 8bfe66c046cc424d23a8d1799cf325b5442a22da (patch) | |
tree | 6421519ac55c46ccff911e9a88f3958ca47a3b9c /devel/distcc | |
parent | 142a1ee0246a143b81a4fc4ec90ac6b577e096c8 (diff) | |
download | pkgsrc-8bfe66c046cc424d23a8d1799cf325b5442a22da.tar.gz |
Make delay >= 1.0 work
Diffstat (limited to 'devel/distcc')
-rw-r--r-- | devel/distcc/distinfo | 3 | ||||
-rw-r--r-- | devel/distcc/patches/patch-aa | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/distcc/distinfo b/devel/distcc/distinfo index 77ad802358f..7f0eb4721fb 100644 --- a/devel/distcc/distinfo +++ b/devel/distcc/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.6 2003/09/11 06:45:52 martti Exp $ +$NetBSD: distinfo,v 1.7 2003/09/11 07:26:20 martti Exp $ SHA1 (distcc-2.10.1.tar.bz2) = d0918a0d33ea79ff9a6c327413298db06559cd81 Size (distcc-2.10.1.tar.bz2) = 239928 bytes +SHA1 (patch-aa) = 0a829842284eec90b6817342c430a2a766a98b1f 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; |