gcc-csl 2006q1: added makeinfo patch
authorMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 7 Feb 2008 13:15:37 +0000 (13:15 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 7 Feb 2008 13:15:37 +0000 (13:15 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3698 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/gcc/gcc-csl-arm/gcc-new-makeinfo.patch [new file with mode: 0644]
meta/packages/gcc/gcc_csl-arm-2006q1.bb

diff --git a/meta/packages/gcc/gcc-csl-arm/gcc-new-makeinfo.patch b/meta/packages/gcc/gcc-csl-arm/gcc-new-makeinfo.patch
new file mode 100644 (file)
index 0000000..b984605
--- /dev/null
@@ -0,0 +1,35 @@
+---
+ configure    |    2 +-
+ configure.in |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- gcc-2006q1.orig/configure
++++ gcc-2006q1/configure
+@@ -3453,11 +3453,11 @@ 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]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+       :
+     else
+       MAKEINFO="$MISSING makeinfo"
+     fi
+     ;;
+--- gcc-2006q1.orig/configure.in
++++ gcc-2006q1/configure.in
+@@ -2078,11 +2078,11 @@ case " $build_configdirs " in
+   *)
+ changequote(,)
+     # 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]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+       :
+     else
+       MAKEINFO="$MISSING makeinfo"
+     fi
+     ;;
index d7e1f6e..a4d7c5b 100644 (file)
@@ -13,7 +13,8 @@ inherit autotools gettext
 require gcc-package.inc
 
 SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2006q1-6-arm-none-eabi.src.tar.bz2 \
-           file://gcc-configure-no-fortran.patch;patch=1;pnum=1"
+           file://gcc-configure-no-fortran.patch;patch=1;pnum=1 \
+           file://gcc-new-makeinfo.patch;patch=1"
 
 #the optabi patch is already applied