dbpware-for-solaris/gcc41/src/gcc-4.1.2-new-makeinfo.patch
Tom G. Christensen bfcbebf6b6 gcc41: rename and rebuild
This updates the build to use the common gcc build
infrastructure.
Additionally the package is renamed from gcc412 to gcc41
to match tgcwarev2.
2013-11-24 00:23:59 +01:00

26 lines
1.2 KiB
Diff

diff -up gcc-4.1.2/Makefile.in.makeinfo gcc-4.1.2/Makefile.in
diff -up gcc-4.1.2/gcc/configure.makeinfo gcc-4.1.2/gcc/configure
--- gcc-4.1.2/gcc/configure.makeinfo 2012-11-27 14:42:57.707666500 +0100
+++ gcc-4.1.2/gcc/configure 2012-11-27 14:43:17.715610000 +0100
@@ -7495,7 +7495,7 @@ else
echo "configure:7495: version of makeinfo is $ac_prog_version" >&5
case $ac_prog_version in
'') gcc_cv_prog_makeinfo_modern=no;;
- 4.[2-9]*)
+ 4.[7-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)
gcc_cv_prog_makeinfo_modern=yes;;
*) gcc_cv_prog_makeinfo_modern=no;;
esac
diff -up gcc-4.1.2/configure.makeinfo gcc-4.1.2/configure
--- gcc-4.1.2/configure.makeinfo 2006-11-21 18:48:36.000000000 +0100
+++ gcc-4.1.2/configure 2012-11-27 19:17:38.366113000 +0100
@@ -3549,7 +3549,7 @@ case " $build_configdirs " in
# For an installed makeinfo, we require it to be from texinfo 4.2 or
# higher, else we use the "missing" dummy.
if ${MAKEINFO} --version \
- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])' >/dev/null 2>&1; then
+ | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[7-9]*|4\.[1-9][0-9]*|[1-9][0-9]*)' >/dev/null 2>&1; then
:
else
MAKEINFO="$MISSING makeinfo"