diff --git a/srcpkgs/bonnie++/patches/configure.patch b/srcpkgs/bonnie++/patches/configure.patch new file mode 100644 index 0000000000..91bb9c1bb6 --- /dev/null +++ b/srcpkgs/bonnie++/patches/configure.patch @@ -0,0 +1,22 @@ +diff --git configure configure +index 4495abe..951dd7e 100755 +--- configure ++++ configure +@@ -2664,7 +2664,7 @@ $as_echo "$ac_try_echo"; } >&5 + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error $? "cannot run C compiled programs. ++$as_echo "cannot run C compiled programs. + If you meant to cross compile, use \`--host'. + See \`config.log' for more details" "$LINENO" 5 ; } + fi +@@ -3953,7 +3953,7 @@ rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + + +-if test "$cross_compiling" = yes; then : ++if test "$cross_compiling" = xxx; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error $? "cannot run test program while cross compiling diff --git a/srcpkgs/bonnie++/template b/srcpkgs/bonnie++/template index 2c87cec0ad..0662af58b4 100644 --- a/srcpkgs/bonnie++/template +++ b/srcpkgs/bonnie++/template @@ -5,13 +5,11 @@ revision=3 build_style=gnu-configure short_desc="Hard Drive and Filesystem benchmark utility" maintainer="Orphaned " -license="GPL-2" +license="GPL-2.0-only" homepage="http://www.coker.com.au/bonnie++/" distfiles="http://www.coker.com.au/bonnie++/bonnie++-${version}.tgz" checksum=e27b386ae0dc054fa7b530aab6bdead7aea6337a864d1f982bc9ebacb320746e -nocross="configure: error: cannot run test program while cross compiling" - post_extract() { sed -i -e 's/sbin/bin/g' \ -e '/-o getc_putc_helper/s/CXX/LINK/' \