pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/distcc Make delay >= 1.0 work



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f2f38f9bf9f
branches:  trunk
changeset: 461117:4f2f38f9bf9f
user:      martti <martti%pkgsrc.org@localhost>
date:      Thu Sep 11 07:26:20 2003 +0000

description:
Make delay >= 1.0 work

diffstat:

 devel/distcc/distinfo         |   3 ++-
 devel/distcc/patches/patch-aa |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r ee7b5deae11b -r 4f2f38f9bf9f devel/distcc/distinfo
--- a/devel/distcc/distinfo     Thu Sep 11 07:14:42 2003 +0000
+++ b/devel/distcc/distinfo     Thu Sep 11 07:26:20 2003 +0000
@@ -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 -r ee7b5deae11b -r 4f2f38f9bf9f devel/distcc/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/distcc/patches/patch-aa     Thu Sep 11 07:26:20 2003 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index