summaryrefslogtreecommitdiff
path: root/graphics/Mesa3/files
diff options
context:
space:
mode:
authorJeffrey Hsu <hsu@FreeBSD.org>1995-02-07 21:58:10 +0000
committerJeffrey Hsu <hsu@FreeBSD.org>1995-02-07 21:58:10 +0000
commit587157732997ec1c7f89d997c3c2bb8bac28b5c1 (patch)
treeeb45b6bb139fd20ba47a2b261f24ca1b93cf4ca3 /graphics/Mesa3/files
parentUpgrade to 3.10a (bugfix release) (diff)
Mesa - a 3-D graphics library similiar to OpenGL
Notes
Notes: svn path=/head/; revision=908
Diffstat (limited to 'graphics/Mesa3/files')
-rw-r--r--graphics/Mesa3/files/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/Mesa3/files/patch-aa b/graphics/Mesa3/files/patch-aa
new file mode 100644
index 000000000000..1b4d82812778
--- /dev/null
+++ b/graphics/Mesa3/files/patch-aa
@@ -0,0 +1,16 @@
+*** samples/speed.c.0 Fri Jan 27 18:41:09 1995
+--- samples/speed.c Sun Feb 5 15:43:42 1995
+***************
+*** 122,128 ****
+--- 122,132 ----
+ clock_t clk;
+
+ clk = times(&tm);
++ #ifdef __FreeBSD__
++ return (double) clk / (double) sysconf(_SC_CLK_TCK);
++ #else
+ return (double)clk / (double)HZ;
++ #endif
+ #else
+ return 0;
+ #endif