summaryrefslogtreecommitdiff
path: root/lang/icon/patches/patch-bb
diff options
context:
space:
mode:
Diffstat (limited to 'lang/icon/patches/patch-bb')
-rw-r--r--lang/icon/patches/patch-bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/icon/patches/patch-bb b/lang/icon/patches/patch-bb
new file mode 100644
index 00000000000..416a8920047
--- /dev/null
+++ b/lang/icon/patches/patch-bb
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.4 2008/06/28 17:14:25 tnn Exp $
+
+--- src/common/time.c.orig 2002-07-09 18:49:27.000000000 +0200
++++ src/common/time.c
+@@ -32,7 +32,7 @@ long millisec()
+ t = cptime();
+ if (starttime == -2)
+ starttime = t;
+- return (long) ((1000.0 / CLK_TCK) * (t - starttime));
++ return (long) ((1000.0 / sysconf(_SC_CLK_TCK)) * (t - starttime));
+ }
+
+ #else /* NoPosixTimes */