pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2005Q1]: pkgsrc/benchmarks/dbench Pullup ticket 413 - requeste...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc1699a84f2f
branches:  pkgsrc-2005Q1
changeset: 490910:dc1699a84f2f
user:      snj <snj%pkgsrc.org@localhost>
date:      Sun Apr 03 03:39:44 2005 +0000

description:
Pullup ticket 413 - requested by Min Sik Kim
portability fix for dbench

Revisions pulled up:
- pkgsrc/benchmarks/dbench/distinfo             1.5
- pkgsrc/benchmarks/dbench/patches/patch-aa     1.3


    Module Name:  pkgsrc
    Committed By: minskim
    Date:         Fri Mar 25 15:44:39 UTC 2005

    Modified Files:
          pkgsrc/benchmarks/dbench: distinfo
    Added Files:
          pkgsrc/benchmarks/dbench/patches: patch-aa

    Log Message:
    Make this package build on Darwin.
      - Include sys/aio.h to use O_SYNC.
      - Use fsync(2) instead of fdatasync(2), which is unavailable on
        Darwin.

diffstat:

 benchmarks/dbench/distinfo         |   3 ++-
 benchmarks/dbench/patches/patch-aa |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r a04966b7e979 -r dc1699a84f2f benchmarks/dbench/distinfo
--- a/benchmarks/dbench/distinfo        Sun Apr 03 03:33:11 2005 +0000
+++ b/benchmarks/dbench/distinfo        Sun Apr 03 03:39:44 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/22 21:16:36 agc Exp $
+$NetBSD: distinfo,v 1.4.2.1 2005/04/03 03:39:44 snj Exp $
 
 SHA1 (dbench-2.1.tar.gz) = 13331f549fb4c5f32069ec6b660e4b171ca64572
 RMD160 (dbench-2.1.tar.gz) = 436ed94b99e8098b7bc1f1aaa7fdcaba36cf6be4
 Size (dbench-2.1.tar.gz) = 701293 bytes
+SHA1 (patch-aa) = d31fca72a9b733f6e6540b75a8acc9da44fe74d8
 SHA1 (patch-ab) = 136d72277d3698a0b7638c1ac4661aa22028cf05
diff -r a04966b7e979 -r dc1699a84f2f benchmarks/dbench/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/dbench/patches/patch-aa        Sun Apr 03 03:39:44 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.2.4.1 2005/04/03 03:39:44 snj Exp $
+
+--- fileio.c.orig      Wed Oct 15 20:59:00 2003
++++ fileio.c
+@@ -19,6 +19,10 @@
+ */
+ 
+ #include "dbench.h"
++#ifdef __APPLE__
++#include <sys/aio.h>
++#define fdatasync fsync
++#endif
+ 
+ #define MAX_FILES 200
+ 



Home | Main Index | Thread Index | Old Index