summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2008-04-30 00:02:18 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2008-04-30 00:02:18 +0000
commit5dc64cdceaa9092577cfe5bdac96adffcaca0084 (patch)
tree5d4caaf111a03410c421b11ab033169e92a1abaa
parentd7565014b47dfaa1011cf2e333b9085b47db2e01 (diff)
gdb-cross.inc: Fix for issues when system's texinfo version >= 4.10
-rw-r--r--packages/gdb/gdb-cross.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/gdb/gdb-cross.inc b/packages/gdb/gdb-cross.inc
index 480cce4931..9870b9870b 100644
--- a/packages/gdb/gdb-cross.inc
+++ b/packages/gdb/gdb-cross.inc
@@ -10,6 +10,12 @@ do_configure () {
# override this function to avoid the autoconf/automake/aclocal/autoheader
# calls for now
(cd ${S} && gnu-configize) || die "failure in running gnu-configize"
+
+ # Fix for issues when system's texinfo version >= 4.10
+ # (See https://bugzilla.redhat.com/show_bug.cgi?id=345621)
+ sed -i -e 's/egrep `texinfo.*`/egrep `texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])`/' '${S}/configure'
+
+
oe_runconf
}