Subject: benchmark/dbench on NetBSD-1.6.2/i386
To: None <tech-pkg@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-pkg
Date: 09/24/2005 23:17:50
This is a multi-part message in MIME format.
--------------040504090407000302070405
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
I need the appended patch to build dbench on NetBSD-i386. Have I
overlooked something or is the code that I commented out really useless?
Roland
--------------040504090407000302070405
Content-Type: text/plain;
name="dbench.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="dbench.patch"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/benchmarks/dbench/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo 12 Jul 2005 09:55:57 -0000 1.6
+++ distinfo 24 Sep 2005 21:14:53 -0000
@@ -3,4 +3,4 @@ $NetBSD: distinfo,v 1.6 2005/07/12 09:55
SHA1 (dbench-3.03.tar.gz) = 9261e6c3d800ee6822be579ac37a9d531a03e4c2
RMD160 (dbench-3.03.tar.gz) = 1fc311e3d598f25b96448002006a94e24ae8424a
Size (dbench-3.03.tar.gz) = 2076982 bytes
-SHA1 (patch-aa) = d31fca72a9b733f6e6540b75a8acc9da44fe74d8
+SHA1 (patch-aa) = b2a134ef7650bef60551972f5c3c0209d6d41112
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/benchmarks/dbench/patches/patch-aa,v
retrieving revision 1.3
diff -u -p -r1.3 patch-aa
--- patches/patch-aa 25 Mar 2005 15:44:38 -0000 1.3
+++ patches/patch-aa 24 Sep 2005 21:14:53 -0000
@@ -1,7 +1,7 @@
$NetBSD: patch-aa,v 1.3 2005/03/25 15:44:38 minskim Exp $
---- fileio.c.orig Wed Oct 15 20:59:00 2003
-+++ fileio.c
+--- fileio.c.orig Mon Dec 13 03:47:59 2004
++++ fileio.c Sat Sep 24 23:06:17 2005
@@ -19,6 +19,10 @@
*/
@@ -13,3 +13,18 @@ $NetBSD: patch-aa,v 1.3 2005/03/25 15:44
#define MAX_FILES 200
+@@ -375,12 +379,14 @@ void nb_qfileinfo(struct child_struct *c
+
+ void nb_qfsinfo(struct child_struct *child, int level, const char *status)
+ {
++#if 0 /* does this code do anything useful? */
+ struct statvfs st;
+
+ (void)level;
+ (void)status;
+
+ statvfs(child->directory, &st);
++#endif
+ }
+
+ void nb_findfirst(struct child_struct *child, char *fname, int level, int maxcnt,
--------------040504090407000302070405--