summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-06-16 04:33:51 +0000
committerminskim <minskim@pkgsrc.org>2004-06-16 04:33:51 +0000
commit09c6589bc3f3360b782be59144d68253c8e15049 (patch)
treea8060814570ebe44c7dafe4c3d005ec765c7afae /benchmarks
parentb912cc3fc8b3b2261cb5c2ce6f9b7df579260783 (diff)
downloadpkgsrc-09c6589bc3f3360b782be59144d68253c8e15049.tar.gz
Make this package build on Linux.
- Include time.h to use struct tm.
Diffstat (limited to 'benchmarks')
-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