summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie++/patches
diff options
context:
space:
mode:
authorwiz <wiz>2003-03-10 10:00:38 +0000
committerwiz <wiz>2003-03-10 10:00:38 +0000
commitf764fe461ae60283f3d8e478e47f4b3abf99da97 (patch)
tree132c5ecc491fc408fd07bd58a456de076df36607 /benchmarks/bonnie++/patches
parenta2f838e5c24bd6482f2786fa8dd91dc5a130f629 (diff)
downloadpkgsrc-f764fe461ae60283f3d8e478e47f4b3abf99da97.tar.gz
Update to 1.03a. Changes:
bonnie++ (1.03a) unstable; urgency=low * Fixed the bugs in GCC 3.2 compilation and compiled with GCC 3.2. Results will be slightly lower now, but it's still a fair test of compiler/OS... bonnie++ (1.03) unstable; urgency=low * Fixed a bug in error handling during a stat test with multiple directories. bonnie++ (1.02d) unstable; urgency=low * Fixed a bug where it would SEGV if you specified more than 999 directories (now it handles 99,999 and displays an error message if you ask for more). Closes: #171507 * Made it build on Irix. * Fixed <vector> and <algo> checks to work with GCC 3.2.
Diffstat (limited to 'benchmarks/bonnie++/patches')
-rw-r--r--benchmarks/bonnie++/patches/patch-aa21
-rw-r--r--benchmarks/bonnie++/patches/patch-ab12
2 files changed, 11 insertions, 22 deletions
diff --git a/benchmarks/bonnie++/patches/patch-aa b/benchmarks/bonnie++/patches/patch-aa
index af63b102627..723b83a5a0b 100644
--- a/benchmarks/bonnie++/patches/patch-aa
+++ b/benchmarks/bonnie++/patches/patch-aa
@@ -1,14 +1,15 @@
-$NetBSD: patch-aa,v 1.2 2002/09/17 08:18:59 jlam Exp $
+$NetBSD: patch-aa,v 1.3 2003/03/10 10:00:38 wiz Exp $
---- bonnie++.cpp.orig Thu Apr 11 16:23:37 2002
+--- bonnie++.cpp.orig Tue Dec 3 14:40:35 2002
+++ bonnie++.cpp
-@@ -154,7 +154,9 @@ int main(int argc, char *argv[])
- exitNow = false;
+@@ -42,6 +42,10 @@
+ #include <sys/utsname.h>
+ #include <signal.h>
- struct sigaction sa;
-+#ifndef __NetBSD__
- sa.sa_sigaction = NULL;
++#ifndef SA_SIGINFO
++#define SA_SIGINFO 0x0040
+#endif
- sa.sa_handler = ctrl_c_handler;
- sa.sa_flags = SA_RESETHAND;
- if(sigaction(SIGINT, &sa, NULL)
++
+ #ifdef AIX_MEM_SIZE
+ #include <cf.h>
+ #include <sys/cfgodm.h>
diff --git a/benchmarks/bonnie++/patches/patch-ab b/benchmarks/bonnie++/patches/patch-ab
deleted file mode 100644
index d2d2c164602..00000000000
--- a/benchmarks/bonnie++/patches/patch-ab
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/07/16 23:20:43 garbled Exp $
---- Makefile.in.orig Mon Jul 16 16:10:10 2001
-+++ Makefile.in Mon Jul 16 16:11:01 2001
-@@ -34,7 +34,7 @@
- install-bin: $(EXES)
- mkdir -p $(eprefix)/bin $(eprefix)/sbin
- @INSTALL_PROGRAM@ @stripping@ $(EXES) $(eprefix)/sbin
-- @INSTALL_PROGRAM@ $(SCRIPTS) $(eprefix)/bin
-+ @INSTALL_SCRIPT@ $(SCRIPTS) $(eprefix)/bin
-
- install: install-bin
- mkdir -p @mandir@/man1 @mandir@/man8