pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/dbench Added a chunk to patch-aa that comme...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0131a9c7351a
branches:  trunk
changeset: 499493:0131a9c7351a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Sep 25 10:40:18 2005 +0000

description:
Added a chunk to patch-aa that comments out unnecessary code (statvfs). Now
the package builds on NetBSD-1.6.2. Bumped PKGREVISION.

diffstat:

 benchmarks/dbench/Makefile         |   3 ++-
 benchmarks/dbench/distinfo         |   4 ++--
 benchmarks/dbench/patches/patch-aa |  21 ++++++++++++++++++---
 3 files changed, 22 insertions(+), 6 deletions(-)

diffs (57 lines):

diff -r 9350cd441d45 -r 0131a9c7351a benchmarks/dbench/Makefile
--- a/benchmarks/dbench/Makefile        Sun Sep 25 08:01:50 2005 +0000
+++ b/benchmarks/dbench/Makefile        Sun Sep 25 10:40:18 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2005/07/12 09:55:57 adam Exp $
+# $NetBSD: Makefile,v 1.9 2005/09/25 10:40:18 rillig Exp $
 
 DISTNAME=      dbench-3.03
+PKGREVISION=   1
 CATEGORIES=    benchmarks
 MASTER_SITES=  http://samba.org/ftp/tridge/dbench/
 
diff -r 9350cd441d45 -r 0131a9c7351a benchmarks/dbench/distinfo
--- a/benchmarks/dbench/distinfo        Sun Sep 25 08:01:50 2005 +0000
+++ b/benchmarks/dbench/distinfo        Sun Sep 25 10:40:18 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/07/12 09:55:57 adam Exp $
+$NetBSD: distinfo,v 1.7 2005/09/25 10:40:18 rillig Exp $
 
 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
diff -r 9350cd441d45 -r 0131a9c7351a benchmarks/dbench/patches/patch-aa
--- a/benchmarks/dbench/patches/patch-aa        Sun Sep 25 08:01:50 2005 +0000
+++ b/benchmarks/dbench/patches/patch-aa        Sun Sep 25 10:40:18 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.3 2005/03/25 15:44:38 minskim Exp $
+$NetBSD: patch-aa,v 1.4 2005/09/25 10:40:18 rillig 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 @@
  
  #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, 



Home | Main Index | Thread Index | Old Index