update to bonnie++-1.97.3, builds with clang now.

remove -Winit-self and reattempt GCC3_ARCHS while there.
This commit is contained in:
sthen 2017-05-24 14:04:50 +00:00
parent 8e5ac992a6
commit 0577f7d605
4 changed files with 18 additions and 19 deletions

View File

@ -1,13 +1,8 @@
# $OpenBSD: Makefile,v 1.14 2017/04/10 11:45:24 sthen Exp $
# -Winit-self
NOT_FOR_ARCHS= ${GCC3_ARCHS}
# $OpenBSD: Makefile,v 1.15 2017/05/24 14:04:50 sthen Exp $
COMMENT= enhanced performance test of filesystem I/O
DISTNAME= bonnie++-1.97
REVISION= 2
WRKDIST= ${WRKDIR}/${DISTNAME}.1
DISTNAME= bonnie++-1.97.3
CATEGORIES= benchmarks
MASTER_SITES= http://www.coker.com.au/bonnie++/experimental/
EXTRACT_SUFX= .tgz

View File

@ -1,2 +1,2 @@
SHA256 (bonnie++-1.97.tgz) = RPWgWTdkimUmupk1RVXX0V8t05LlXTQ29nRtpvbDWYI=
SIZE (bonnie++-1.97.tgz) = 102604
SHA256 (bonnie++-1.97.3.tgz) = 4ns4auDcBU+ntTCqtr3q166mM3qGTR+YK8nrrLMgdG4=
SIZE (bonnie++-1.97.3.tgz) = 100166

View File

@ -1,11 +1,14 @@
$OpenBSD: patch-Makefile_in,v 1.2 2014/10/13 19:10:44 sthen Exp $
--- Makefile.in.orig Tue Dec 30 21:04:25 2008
+++ Makefile.in Mon Oct 13 20:09:28 2014
@@ -9,7 +9,7 @@ prefix=@prefix@
$OpenBSD: patch-Makefile_in,v 1.3 2017/05/24 14:04:50 sthen Exp $
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -8,8 +8,8 @@ SCRIPTS=bon_csv2txt
prefix=@prefix@
eprefix=@exec_prefix@
#MORE_WARNINGS=-Weffc++
WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self $(MORE_WARNINGS)
-WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum -Winit-self $(MORE_WARNINGS)
-CFLAGS=-O2 @debug@ -DNDEBUG $(WFLAGS) $(MORECFLAGS)
+WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope -Wcast-align -Wsign-compare -Wpointer-arith -Wwrite-strings -Wformat-security -Wswitch-enum $(MORE_WARNINGS)
+CFLAGS+=@debug@ -DNDEBUG $(WFLAGS) $(MORECFLAGS)
CXX=@CXX@ $(CFLAGS)
LINK=@CXX@

View File

@ -1,6 +1,7 @@
$OpenBSD: patch-port_h_in,v 1.3 2015/08/18 20:41:29 bluhm Exp $
--- port.h.in.orig Wed Dec 24 01:16:16 2008
+++ port.h.in Wed Aug 5 23:15:25 2015
$OpenBSD: patch-port_h_in,v 1.4 2017/05/24 14:04:50 sthen Exp $
Index: port.h.in
--- port.h.in.orig
+++ port.h.in
@@ -1,6 +1,8 @@
#ifndef PORT_UNIX_H
#define PORT_UNIX_H
@ -9,8 +10,8 @@ $OpenBSD: patch-port_h_in,v 1.3 2015/08/18 20:41:29 bluhm Exp $
+
#include "conf.h"
#ifndef HAVE_MIN_MAX
@@ -37,10 +39,11 @@
@semun@
@@ -24,10 +26,11 @@
typedef struct timeval TIMEVAL_TYPE;
#ifdef _LARGEFILE64_SOURCE