diff options
author | dholland <dholland@pkgsrc.org> | 2011-09-12 07:24:52 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-09-12 07:24:52 +0000 |
commit | 3a2369815f7fd9bea8e0e22d5a372691a81db0be (patch) | |
tree | db1ce57c6359a3c10f17a6b7638d499f254ae637 /benchmarks | |
parent | 3ae3efcc7d4e6226b403d2582f89341b688796cb (diff) | |
download | pkgsrc-3a2369815f7fd9bea8e0e22d5a372691a81db0be.tar.gz |
void main
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/flops/distinfo | 4 | ||||
-rw-r--r-- | benchmarks/flops/patches/patch-aa | 20 |
2 files changed, 17 insertions, 7 deletions
diff --git a/benchmarks/flops/distinfo b/benchmarks/flops/distinfo index 497ff395b21..008799c83bb 100644 --- a/benchmarks/flops/distinfo +++ b/benchmarks/flops/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2005/02/22 21:16:36 agc Exp $ +$NetBSD: distinfo,v 1.4 2011/09/12 07:24:52 dholland Exp $ SHA1 (flops.c) = f7f62c6d726f19e26a6621f8cc30ce3dd190a1d6 RMD160 (flops.c) = d193df09aef2ebdb3ce8b76c5942bb2543c72623 @@ -6,4 +6,4 @@ Size (flops.c) = 33791 bytes SHA1 (flops.doc) = 97e57d0e847f67fa177418163c67a753b52ade2f RMD160 (flops.doc) = 7705d274ae852c312c7b510732f29e9905901370 Size (flops.doc) = 7751 bytes -SHA1 (patch-aa) = 89ae2861738560f66ff35a06b715ae9c3535b5d1 +SHA1 (patch-aa) = 7539f7c2c8c995ffc3d53ced5a8b93b62eebcac6 diff --git a/benchmarks/flops/patches/patch-aa b/benchmarks/flops/patches/patch-aa index 25b70bbf0c7..707a6dbba67 100644 --- a/benchmarks/flops/patches/patch-aa +++ b/benchmarks/flops/patches/patch-aa @@ -1,10 +1,20 @@ -$NetBSD: patch-aa,v 1.1 1998/10/22 13:01:25 agc Exp $ +$NetBSD: patch-aa,v 1.2 2011/09/12 07:24:52 dholland Exp $ -Exit with a 0. +- fix void main +- exit with a 0. ---- flops.c 1998/10/22 12:46:57 1.1 -+++ flops.c 1998/10/22 12:47:42 -@@ -638,6 +638,7 @@ +--- flops.c.orig 2011-09-12 07:23:22.000000000 +0000 ++++ flops.c +@@ -170,7 +170,7 @@ double D3 = 0.1233153E-5; + double E2 = 0.48E-3; + double E3 = 0.411051E-6; + +-void main() ++int main() + { + + #ifdef ROPT +@@ -638,6 +638,7 @@ void main() printf(" MFLOPS(3) = %10.4lf\n",T[32]); printf(" MFLOPS(4) = %10.4lf\n\n",T[34]); |