mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
- Our other two 64-bit platforms needs min(int, int) workaround too
- Unmark broken as it builds on Bento at least for i386. I got some feedback that it builds with gcc 3.3.3, but not with 3.3.1 Tested by: Koop Mast (on sparc64) Approved by: adamw (mentor)
This commit is contained in:
parent
7ec54f8879
commit
d53f53c3b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94685
@ -19,12 +19,6 @@ COMMENT= Performance Test of Filesystem I/O
|
||||
USE_REINPLACE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 501103
|
||||
BROKEN= "Does not build with gcc 3.3; author is aware of the problem"
|
||||
.endif
|
||||
|
||||
MAN1= bon_csv2html.1 bon_csv2txt.1 generate_randfile.1
|
||||
MAN8= bonnie++.8 getc_putc.8 zcav.8
|
||||
|
||||
@ -35,4 +29,4 @@ post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/readme.html ${DOCSDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "duration.h"
|
||||
#include "getc_putc.h"
|
||||
|
||||
+#if defined(__alpha__) || defined(__sparc64__)
|
||||
+#if defined(__alpha__) || defined(__sparc64__) || defined(__amd64__) || defined(__ia64__)
|
||||
+/* Work around for: line 168, no matching function for call to `min(long unsigned int, unsigned int)' */
|
||||
+#include <sys/param.h>
|
||||
+#define min MIN
|
||||
|
Loading…
Reference in New Issue
Block a user