binutils: 2.17: fix makeinfo 4.xx check
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 3 Mar 2009 21:23:34 +0000 (21:23 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 3 Mar 2009 21:23:34 +0000 (21:23 -0000)
Fixes #111.

toolchain/binutils/2.17/500-fix-makeinfo-check.patch [new file with mode: 0644]

diff --git a/toolchain/binutils/2.17/500-fix-makeinfo-check.patch b/toolchain/binutils/2.17/500-fix-makeinfo-check.patch
new file mode 100644 (file)
index 0000000..c4c8888
--- /dev/null
@@ -0,0 +1,17 @@
+---
+ configure |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: binutils-2.17/configure
+===================================================================
+--- binutils-2.17.orig/configure
++++ binutils-2.17/configure
+@@ -3637,7 +3637,7 @@
+     # For an installed makeinfo, we require it to be from texinfo 4.4 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]*([1-3][0-9]|4\.[4-9]|4\.[1-9][0-9]|[5-9])' >/dev/null 2>&1; then
+       :
+     else
+       MAKEINFO="$MISSING makeinfo"