pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/iozone remove a K&R-style prototype for bze...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a82e900a132f
branches:  trunk
changeset: 366154:a82e900a132f
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Fri Aug 04 18:15:05 2017 +0000

description:
remove a K&R-style prototype for bzero() that was being expanded
via a macro and breaking the build.

diffstat:

 benchmarks/iozone/distinfo               |   3 ++-
 benchmarks/iozone/patches/patch-fileop.c |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 801f1ec24304 -r a82e900a132f benchmarks/iozone/distinfo
--- a/benchmarks/iozone/distinfo        Fri Aug 04 18:03:00 2017 +0000
+++ b/benchmarks/iozone/distinfo        Fri Aug 04 18:15:05 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2015/11/03 00:25:50 agc Exp $
+$NetBSD: distinfo,v 1.24 2017/08/04 18:15:05 mrg Exp $
 
 SHA1 (iozone3_430.tar) = de02b10fcde6bd60e0c805e3abfc0aed15e85ac1
 RMD160 (iozone3_430.tar) = 4b43f14268ebe3accf8cdc881c3f82430d649082
@@ -6,5 +6,6 @@
 Size (iozone3_430.tar) = 1832960 bytes
 SHA1 (patch-ab) = fdd36fead26811aa830df5fac35b79a9b62ed1f0
 SHA1 (patch-ac) = 6a02e13f3441a76709fbe8ba064555b650f9bd1c
+SHA1 (patch-fileop.c) = 792dd0e3ad9de4313d34e367ea0c01d9be319229
 SHA1 (patch-libasync.c) = 2c1bebb4423ea84329511cc7fd32d093a6063bf9
 SHA1 (patch-makefile) = 0eb68d8838141e96b08a156f59ed197407eb95e9
diff -r 801f1ec24304 -r a82e900a132f benchmarks/iozone/patches/patch-fileop.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/iozone/patches/patch-fileop.c  Fri Aug 04 18:15:05 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-fileop.c,v 1.1 2017/08/04 18:15:05 mrg Exp $
+
+remove a macro-as-prototype failure.
+
+--- fileop.c.orig      2015-01-07 12:43:10.000000000 -0800
++++ fileop.c   2017-08-04 11:05:36.713202977 -0700
+@@ -124,7 +124,6 @@
+ void file_read(int);
+ void splash(void);
+ void usage(void);
+-void bzero();
+ void clear_stats();
+ int validate(char *, int , char );
+ 



Home | Main Index | Thread Index | Old Index