summaryrefslogtreecommitdiff
path: root/toolchain/binutils/2.17.50.0.16/100-makeinfo-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/binutils/2.17.50.0.16/100-makeinfo-version.patch')
-rw-r--r--toolchain/binutils/2.17.50.0.16/100-makeinfo-version.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/toolchain/binutils/2.17.50.0.16/100-makeinfo-version.patch b/toolchain/binutils/2.17.50.0.16/100-makeinfo-version.patch
new file mode 100644
index 000000000..5cebed348
--- /dev/null
+++ b/toolchain/binutils/2.17.50.0.16/100-makeinfo-version.patch
@@ -0,0 +1,32 @@
+diff -ur binutils-2.17.50.0.16/configure binutils-2.17.50.0.16-patched/configure
+--- binutils-2.17.50.0.16/configure 2007-03-23 10:41:48.000000000 -0500
++++ binutils-2.17.50.0.16-patched/configure 2008-01-26 14:26:39.418390940 -0600
+@@ -6111,10 +6111,10 @@
+ *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
+ *)
+
+- # For an installed makeinfo, we require it to be from texinfo 4.4 or
++ # For an installed makeinfo, we require it to be from texinfo 4.6 or
+ # higher, else we use the "missing" dummy.
+ if ${MAKEINFO} --version \
+- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
++ | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+ :
+ else
+ MAKEINFO="$MISSING makeinfo"
+diff -ur binutils-2.17.50.0.16/configure.ac binutils-2.17.50.0.16-patched/configure.ac
+--- binutils-2.17.50.0.16/configure.ac 2007-03-23 10:41:48.000000000 -0500
++++ binutils-2.17.50.0.16-patched/configure.ac 2008-01-26 14:26:39.422390987 -0600
+@@ -2397,10 +2397,10 @@
+ *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
+ *)
+ changequote(,)
+- # For an installed makeinfo, we require it to be from texinfo 4.4 or
++ # For an installed makeinfo, we require it to be from texinfo 4.6 or
+ # higher, else we use the "missing" dummy.
+ if ${MAKEINFO} --version \
+- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
++ | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+ :
+ else
+ MAKEINFO="$MISSING makeinfo"