summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie++/patches
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>2001-07-16 23:20:43 +0000
committergarbled <garbled@pkgsrc.org>2001-07-16 23:20:43 +0000
commit99a34ec6ffb15c91b1bfa9eb3e42a936933e8e77 (patch)
tree89ef4eb532cf25177c1ae364bda2911164b12288 /benchmarks/bonnie++/patches
parente5ed120f4a35bb545553f6a3143878513d57943b (diff)
downloadpkgsrc-99a34ec6ffb15c91b1bfa9eb3e42a936933e8e77.tar.gz
Add new pkg for bonnie++ 1.01. This is an enhanced version of bonnie
based on the original.
Diffstat (limited to 'benchmarks/bonnie++/patches')
-rw-r--r--benchmarks/bonnie++/patches/patch-aa13
-rw-r--r--benchmarks/bonnie++/patches/patch-ab12
2 files changed, 25 insertions, 0 deletions
diff --git a/benchmarks/bonnie++/patches/patch-aa b/benchmarks/bonnie++/patches/patch-aa
new file mode 100644
index 00000000000..ac141ee3956
--- /dev/null
+++ b/benchmarks/bonnie++/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/07/16 23:20:43 garbled Exp $
+--- bonnie++.cpp.orig Mon Jul 16 16:07:22 2001
++++ bonnie++.cpp Mon Jul 16 16:07:42 2001
+@@ -145,7 +145,9 @@
+ exitNow = false;
+
+ struct sigaction sa;
++#ifndef __NetBSD__
+ sa.sa_sigaction = NULL;
++#endif
+ sa.sa_handler = ctrl_c_handler;
+ sa.sa_flags = SA_RESETHAND;
+ if(sigaction(SIGINT, &sa, NULL)
diff --git a/benchmarks/bonnie++/patches/patch-ab b/benchmarks/bonnie++/patches/patch-ab
new file mode 100644
index 00000000000..d2d2c164602
--- /dev/null
+++ b/benchmarks/bonnie++/patches/patch-ab
@@ -0,0 +1,12 @@
+$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