aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-03-05 22:40:38 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-03-05 22:40:38 +0000
commitc14491921edbc6e1b65f5c09bc4587971c57e618 (patch)
tree374a023b329125e2dbdbef556f824bf37debcf51 /benchmarks
parent331e4213c9682358944f11a33fb2ebd6b89f64bf (diff)
downloadports-c14491921edbc6e1b65f5c09bc4587971c57e618.tar.gz
ports-c14491921edbc6e1b65f5c09bc4587971c57e618.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bonnie++/files/patch-getc_putc.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/benchmarks/bonnie++/files/patch-getc_putc.cpp b/benchmarks/bonnie++/files/patch-getc_putc.cpp
new file mode 100644
index 000000000000..fbabf3e53905
--- /dev/null
+++ b/benchmarks/bonnie++/files/patch-getc_putc.cpp
@@ -0,0 +1,15 @@
+--- getc_putc.cpp.orig Sun Dec 9 06:50:24 2001
++++ getc_putc.cpp Wed Mar 5 14:32:58 2003
+@@ -17,6 +17,12 @@
+ #include "duration.h"
+ #include "getc_putc.h"
+
++#if defined(__alpha__) || defined(__sparc64__)
++/* Work around for: line 168, no matching function for call to `min(long unsigned int, unsigned int)' */
++#include <sys/param.h>
++#define min MIN
++#endif
++
+ static void usage()
+ {
+ fprintf(stderr, "usage:\n"