From e832a8f18db11ef6ac18de3820f527f302975d9b Mon Sep 17 00:00:00 2001 From: taca Date: Mon, 12 Sep 2011 11:37:46 +0000 Subject: [PATCH] Workaround for build problem on NetBSD 5.99.55. --- benchmarks/bytebench/distinfo | 4 ++-- benchmarks/bytebench/patches/patch-ab | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/benchmarks/bytebench/distinfo b/benchmarks/bytebench/distinfo index 7abcce7b259e..30976028dc64 100644 --- a/benchmarks/bytebench/distinfo +++ b/benchmarks/bytebench/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.10 2005/11/07 15:46:26 joerg Exp $ +$NetBSD: distinfo,v 1.11 2011/09/12 11:37:46 taca Exp $ SHA1 (unixbench-4.1.0.tgz) = 0a43d9cf08869c0f81bde4647be6bcf76c064248 RMD160 (unixbench-4.1.0.tgz) = 182e8a35574df0cd7984662bf99d47a7e24e7e03 Size (unixbench-4.1.0.tgz) = 63075 bytes SHA1 (patch-aa) = e99170aaa9100486ef4e62387a0795dd4372f157 -SHA1 (patch-ab) = 9f4c714b1aa1e389a54465771a48d251fe5165cf +SHA1 (patch-ab) = 76c010c87925900f8d7046395bd9f42b885893f2 SHA1 (patch-ac) = ebfb09da84c96f8c6f48293c65a74dcf8a43cff5 SHA1 (patch-ad) = 3a1b788d9fa51fc168d59d8c87b1f476df2d5f41 SHA1 (patch-ae) = fbbce3deed7f0421034c1d57b66b1967ad8bddf1 diff --git a/benchmarks/bytebench/patches/patch-ab b/benchmarks/bytebench/patches/patch-ab index f6cad92c5231..865d4c5370bf 100644 --- a/benchmarks/bytebench/patches/patch-ab +++ b/benchmarks/bytebench/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.3 2003/09/19 18:18:12 wiz Exp $ +$NetBSD: patch-ab,v 1.4 2011/09/12 11:37:46 taca Exp $ ---- Makefile.orig Wed Jul 28 15:05:02 1999 +--- Makefile.orig 1999-07-28 22:05:02.000000000 +0000 +++ Makefile @@ -31,8 +31,8 @@ ID="@(#)Makefile:3.9 -- 5/15/91 19:30:15"; @@ -13,7 +13,17 @@ $NetBSD: patch-ab,v 1.3 2003/09/19 18:18:12 wiz Exp $ ## For Linux 486/Pentium, GCC 2.7.x and 2.8.x #OPTON = -O2 -fomit-frame-pointer -fforce-addr -fforce-mem -ffast-math \ -@@ -54,7 +54,7 @@ +@@ -46,6 +46,9 @@ CC=gcc + ## For Solaris 2, or general-purpose GCC 2.7.x + OPTON = -O2 -fomit-frame-pointer -fforce-addr -fforce-mem -ffast-math -Wall + ++## For Solaris 2, or general-purpose GCC 4.5 ++OPTON = -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall ++ + ## Very generic + #OPTON = -O + +@@ -54,7 +57,7 @@ OPTON = -O2 -fomit-frame-pointer -fforce #CFLAGS = -DTIME -std1 -verbose -w0 ## generic gcc CFLAGS. -DTIME must be included