summaryrefslogtreecommitdiff
path: root/benchmarks/lmbench
diff options
context:
space:
mode:
authorminskim <minskim>2004-06-16 04:33:51 +0000
committerminskim <minskim>2004-06-16 04:33:51 +0000
commit2b8348e08fea06871aa095fe31433cd32141e336 (patch)
treea8060814570ebe44c7dafe4c3d005ec765c7afae /benchmarks/lmbench
parent8f0b651b5a489e81cb88ea43e8bc1d7274f26d5e (diff)
downloadpkgsrc-2b8348e08fea06871aa095fe31433cd32141e336.tar.gz
Make this package build on Linux.
- Include time.h to use struct tm.
Diffstat (limited to 'benchmarks/lmbench')
-rw-r--r--benchmarks/lmbench/distinfo3
-rw-r--r--benchmarks/lmbench/patches/patch-ak12
2 files changed, 14 insertions, 1 deletions
diff --git a/benchmarks/lmbench/distinfo b/benchmarks/lmbench/distinfo
index 6e5d6e78544..8e1cc1072ff 100644
--- a/benchmarks/lmbench/distinfo
+++ b/benchmarks/lmbench/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2004/05/23 23:28:29 danw Exp $
+$NetBSD: distinfo,v 1.6 2004/06/16 04:33:51 minskim Exp $
SHA1 (lmbench-2alpha11.tgz) = 7480815b8f8d4000647db59eb6160e9dbac06490
Size (lmbench-2alpha11.tgz) = 464956 bytes
@@ -12,3 +12,4 @@ SHA1 (patch-ag) = cf5d1f3cf24b9fb6ab4a1a84ad8a44fda858add4
SHA1 (patch-ah) = ec623c0c22c6f3314aacf965bdd643debca578e0
SHA1 (patch-ai) = d9d462703e5d10b71b8da55989b2da1d2461e11e
SHA1 (patch-aj) = c0ddc2b95dab57b96f886dedcd6f253eadd9bf70
+SHA1 (patch-ak) = 347fc345f90872e922faace9fc651b5d8033dc64
diff --git a/benchmarks/lmbench/patches/patch-ak b/benchmarks/lmbench/patches/patch-ak
new file mode 100644
index 00000000000..4a378bb5046
--- /dev/null
+++ b/benchmarks/lmbench/patches/patch-ak
@@ -0,0 +1,12 @@
+$NetBSD: patch-ak,v 1.1 2004/06/16 04:33:51 minskim Exp $
+
+--- src/lmhttp.c.orig 1998-07-31 14:55:18.000000000 -0500
++++ src/lmhttp.c
+@@ -17,6 +17,7 @@ char *id = "$Id: s.lmhttp.c 1.6 98/06/29
+ #include <sys/sysmp.h>
+ #include <sys/syssgi.h>
+ #endif
++#include <time.h>
+ #include "bench.h"
+ #ifdef MAP_FILE
+ # define MMAP_FLAGS MAP_FILE|MAP_SHARED