summaryrefslogtreecommitdiff
path: root/toolchain/binutils/2.17.50.0.12/100-makeinfo-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/binutils/2.17.50.0.12/100-makeinfo-version.patch')
-rw-r--r--toolchain/binutils/2.17.50.0.12/100-makeinfo-version.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/toolchain/binutils/2.17.50.0.12/100-makeinfo-version.patch b/toolchain/binutils/2.17.50.0.12/100-makeinfo-version.patch
new file mode 100644
index 000000000..78f7e1a1f
--- /dev/null
+++ b/toolchain/binutils/2.17.50.0.12/100-makeinfo-version.patch
@@ -0,0 +1,16 @@
+diff -ur binutils-2.17.50.0.12/configure binutils-2.17.50.0.12-patched/configure
+--- binutils-2.17.50.0.12/configure 2007-01-23 15:37:00.000000000 -0600
++++ binutils-2.17.50.0.12-patched/configure 2008-01-26 15:15:40.018188886 -0600
+@@ -3835,10 +3835,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"