Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / benchmarks / nbench / patches / patch-sysinfo.sh
blob2b6c561fc869ad378cd2a2e910b9d0043d2bf21f
1 $NetBSD$
3 Avoid matching too many lines (trouble with gcc-4.5.3 on NetBSD)
5 --- sysinfo.sh.orig 2004-12-30 02:58:29.000000000 +0000
6 +++ sysinfo.sh
7 @@ -18,7 +18,7 @@ fi
9 compiler=`echo $* | sed -e 's/-static//g' -e 's/-Bstatic//g'`
10 if $TEST `basename $1` = "gcc" && ($compiler -v) >/dev/null 2>&1 ; then
11 - gccversion=`$compiler -v 2>&1 | sed -e "/version/!d"`
12 + gccversion=`$compiler -v 2>&1 | sed -e "/ version/!d"`
13 else
14 gccversion="$1"