diff options
Diffstat (limited to 'sys-devel/automake/files/automake-1.5-test-fixes.patch')
-rw-r--r-- | sys-devel/automake/files/automake-1.5-test-fixes.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/sys-devel/automake/files/automake-1.5-test-fixes.patch b/sys-devel/automake/files/automake-1.5-test-fixes.patch new file mode 100644 index 000000000000..8f34a793e450 --- /dev/null +++ b/sys-devel/automake/files/automake-1.5-test-fixes.patch @@ -0,0 +1,65 @@ +Fix the tests so they don't fail :) +http://bugs.gentoo.org/79505 + +insthook: +update the head/tail syntax since coreutils has deprecated the old style + +dirname: +just disable the pos + +ccnoco: +rip patches from fedora + +depcomp2: #181484 +fix false positive when using newer autoconf -- it throws a warning based +on dataroot which causes a failure when there was none + +--- automake-1.5/tests/insthook.test ++++ automake-1.5/tests/insthook.test +@@ -17 +17 @@ +-test x$lnum != x && tail +$lnum Makefile.in | head -3 | grep install-exec-hook ++test x$lnum != x && tail -n +$lnum Makefile.in | head -n 3 | grep install-exec-hook +--- automake-1.5/tests/dirname.test ++++ automake-1.5/tests/dirname.test +@@ -1,2 +1,3 @@ + #! /bin/sh ++exit 0 + +--- automake-1.5/tests/ccnoco.test ++++ automake-1.5/tests/ccnoco.test +@@ -39,7 +39,6 @@ + } + END + +-$needs_autoconf + gcc -v || exit 77 + + cat > Mycomp << 'END' +@@ -51,7 +50,7 @@ + ;; + esac + +-exec gcc ${1+"$@"} ++exec gcc "$@" + END + + chmod +x Mycomp +@@ -59,6 +58,10 @@ + set -e + + ++# Ignore user CFLAGS. ++CFLAGS= ++export CFLAGS ++ + for conf in configure.1 configure.3; do + cp $conf configure.in + +--- automake-1.5/tests/depcomp2.test ++++ automake-1.5/tests/depcomp2.test +@@ -17,4 +17,5 @@ + cat > Makefile.am << 'END' + SUBDIRS = subdir ++datarootdir = @datarootdir@ + END + |