pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/lmbench Make this package build on Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/944846de1575
branches:  trunk
changeset: 476627:944846de1575
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Jun 16 04:33:51 2004 +0000

description:
Make this package build on Linux.
  - Include time.h to use struct tm.

diffstat:

 benchmarks/lmbench/distinfo         |   3 ++-
 benchmarks/lmbench/patches/patch-ak |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 7d31e3eac585 -r 944846de1575 benchmarks/lmbench/distinfo
--- a/benchmarks/lmbench/distinfo       Wed Jun 16 03:25:48 2004 +0000
+++ b/benchmarks/lmbench/distinfo       Wed Jun 16 04:33:51 2004 +0000
@@ -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-ah) = ec623c0c22c6f3314aacf965bdd643debca578e0
 SHA1 (patch-ai) = d9d462703e5d10b71b8da55989b2da1d2461e11e
 SHA1 (patch-aj) = c0ddc2b95dab57b96f886dedcd6f253eadd9bf70
+SHA1 (patch-ak) = 347fc345f90872e922faace9fc651b5d8033dc64
diff -r 7d31e3eac585 -r 944846de1575 benchmarks/lmbench/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/lmbench/patches/patch-ak       Wed Jun 16 04:33:51 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index