summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorhsu <hsu@FreeBSD.org>1995-03-06 04:37:23 +0000
committerhsu <hsu@FreeBSD.org>1995-03-06 04:37:23 +0000
commit8195a4a95aee178207d268da02400b646874db3b (patch)
treef43584657e417afd0aec43dd3eb090cdc44c0dee /graphics
parent941d638199a9caa55aa7c7f8fdb22915e52a2862 (diff)
downloadFreeBSD-ports-8195a4a95aee178207d268da02400b646874db3b.zip
FreeBSD-ports-8195a4a95aee178207d268da02400b646874db3b.tar.gz
Use manifest constant CLOCKS_PER_SEC instead of sysconf(_SC_CLK_TCK).
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Mesa3/distinfo2
-rw-r--r--graphics/Mesa3/files/patch-aa23
-rw-r--r--graphics/mesagl/distinfo2
-rw-r--r--graphics/mesagl/files/patch-aa23
4 files changed, 38 insertions, 12 deletions
diff --git a/graphics/Mesa3/distinfo b/graphics/Mesa3/distinfo
index 5b08c4f..9c4eef9 100644
--- a/graphics/Mesa3/distinfo
+++ b/graphics/Mesa3/distinfo
@@ -1 +1 @@
-MD5 (Mesa-1.0beta.tar.Z) = 4b4ecf8c1cdd2556e9d059b9c6f883bb
+MD5 (Mesa-1.1beta.tar.Z) = e19ba153f955fd0818dcb3adc40febde
diff --git a/graphics/Mesa3/files/patch-aa b/graphics/Mesa3/files/patch-aa
index 1b4d828..5815a70 100644
--- a/graphics/Mesa3/files/patch-aa
+++ b/graphics/Mesa3/files/patch-aa
@@ -1,13 +1,26 @@
-*** samples/speed.c.0 Fri Jan 27 18:41:09 1995
---- samples/speed.c Sun Feb 5 15:43:42 1995
+*** samples/speed.c.0 Fri Mar 3 16:38:42 1995
+--- samples/speed.c Sun Mar 5 18:59:23 1995
+***************
+*** 35,40 ****
+--- 35,44 ----
+ #include <sys/param.h>
+ #endif
+
++ #ifdef __STDC__
++ #include <time.h>
++ #endif
++
+
+ #define GAP 10
+ #define ROWS 1
***************
*** 122,128 ****
---- 122,132 ----
+--- 126,136 ----
clock_t clk;
clk = times(&tm);
-+ #ifdef __FreeBSD__
-+ return (double) clk / (double) sysconf(_SC_CLK_TCK);
++ #ifdef __STDC__
++ return (double)clk / (double)CLOCKS_PER_SEC;
+ #else
return (double)clk / (double)HZ;
+ #endif
diff --git a/graphics/mesagl/distinfo b/graphics/mesagl/distinfo
index 5b08c4f..9c4eef9 100644
--- a/graphics/mesagl/distinfo
+++ b/graphics/mesagl/distinfo
@@ -1 +1 @@
-MD5 (Mesa-1.0beta.tar.Z) = 4b4ecf8c1cdd2556e9d059b9c6f883bb
+MD5 (Mesa-1.1beta.tar.Z) = e19ba153f955fd0818dcb3adc40febde
diff --git a/graphics/mesagl/files/patch-aa b/graphics/mesagl/files/patch-aa
index 1b4d828..5815a70 100644
--- a/graphics/mesagl/files/patch-aa
+++ b/graphics/mesagl/files/patch-aa
@@ -1,13 +1,26 @@
-*** samples/speed.c.0 Fri Jan 27 18:41:09 1995
---- samples/speed.c Sun Feb 5 15:43:42 1995
+*** samples/speed.c.0 Fri Mar 3 16:38:42 1995
+--- samples/speed.c Sun Mar 5 18:59:23 1995
+***************
+*** 35,40 ****
+--- 35,44 ----
+ #include <sys/param.h>
+ #endif
+
++ #ifdef __STDC__
++ #include <time.h>
++ #endif
++
+
+ #define GAP 10
+ #define ROWS 1
***************
*** 122,128 ****
---- 122,132 ----
+--- 126,136 ----
clock_t clk;
clk = times(&tm);
-+ #ifdef __FreeBSD__
-+ return (double) clk / (double) sysconf(_SC_CLK_TCK);
++ #ifdef __STDC__
++ return (double)clk / (double)CLOCKS_PER_SEC;
+ #else
return (double)clk / (double)HZ;
+ #endif
OpenPOWER on IntegriCloud