summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authordholland <dholland>2015-11-09 07:30:59 +0000
committerdholland <dholland>2015-11-09 07:30:59 +0000
commit6b74b0fc2e0b011b82be37141e81d62223f016e0 (patch)
tree10a68aa1fd4f2e6fb7db50fe87962f2f1368dd4d /benchmarks
parent5adf66a87a7467b51d566c165d4004130e122e89 (diff)
downloadpkgsrc-6b74b0fc2e0b011b82be37141e81d62223f016e0.tar.gz
Use time.h instead of declaring own version of time().
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bytebench/distinfo3
-rw-r--r--benchmarks/bytebench/patches/patch-dhry__1.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/benchmarks/bytebench/distinfo b/benchmarks/bytebench/distinfo
index 4f5594c384f..63d432e2a42 100644
--- a/benchmarks/bytebench/distinfo
+++ b/benchmarks/bytebench/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2015/11/03 00:25:49 agc Exp $
+$NetBSD: distinfo,v 1.14 2015/11/09 07:30:59 dholland Exp $
SHA1 (unixbench-4.1.0.tgz) = 0a43d9cf08869c0f81bde4647be6bcf76c064248
RMD160 (unixbench-4.1.0.tgz) = 182e8a35574df0cd7984662bf99d47a7e24e7e03
@@ -11,3 +11,4 @@ SHA1 (patch-ad) = 3a1b788d9fa51fc168d59d8c87b1f476df2d5f41
SHA1 (patch-ae) = fbbce3deed7f0421034c1d57b66b1967ad8bddf1
SHA1 (patch-af) = 725a82ecb5f15ec47dda39d53a16027a0e4a7efd
SHA1 (patch-ag) = 27014f92b6e15756a0b6b5ae9fdeca9dd7d261cc
+SHA1 (patch-dhry__1.c) = d83787bcb0af2c568efe1287ae73ff9d082d83b3
diff --git a/benchmarks/bytebench/patches/patch-dhry__1.c b/benchmarks/bytebench/patches/patch-dhry__1.c
new file mode 100644
index 00000000000..fe6a5eaf4c6
--- /dev/null
+++ b/benchmarks/bytebench/patches/patch-dhry__1.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-dhry__1.c,v 1.1 2015/11/09 07:30:59 dholland Exp $
+
+- use standard headers
+
+--- src/dhry_1.c~ 1999-07-28 21:43:08.000000000 +0000
++++ src/dhry_1.c
+@@ -81,7 +81,7 @@ extern int times ();
+ /* Measurements should last at least about 2 seconds */
+ #endif
+ #ifdef TIME
+-extern long time();
++#include <time.h>
+ /* see library function "time" */
+ #define Too_Small_Time 2
+ /* Measurements should last at least 2 seconds */