浏览代码

binutils: 2.17: fix makeinfo 4.xx check

Fixes #111.
Peter Korsgaard 16 年之前
父节点
当前提交
c130919ae8
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      toolchain/binutils/2.17/500-fix-makeinfo-check.patch

+ 17 - 0
toolchain/binutils/2.17/500-fix-makeinfo-check.patch

@@ -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"