From 933472cfee493b16e20d87a56339eeb46addf72f Mon Sep 17 00:00:00 2001
From: Chris Larson <clarson@kergoth.com>
Date: Thu, 5 Aug 2004 01:12:17 +0000
Subject: Apply patch to gdb to ensure its libbfd accepts the linux-uclibc
 target os.

BKrev: 41118971_dzT9C70OmMSOuBGfGGxeQ
---
 gdb/gdb-6.1/uclibc.patch | 0
 gdb/gdb_6.1.oe           | 5 +++--
 2 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 gdb/gdb-6.1/uclibc.patch

diff --git a/gdb/gdb-6.1/uclibc.patch b/gdb/gdb-6.1/uclibc.patch
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/gdb/gdb_6.1.oe b/gdb/gdb_6.1.oe
index 76ac5c0dbe..849d2dac32 100644
--- a/gdb/gdb_6.1.oe
+++ b/gdb/gdb_6.1.oe
@@ -2,14 +2,15 @@ DESCRIPTION = "gdb - GNU debugger"
 SECTION = "base"
 PRIORITY = "optional"
 MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
-DEPENDS = "ncurses"
+DEPENDS = "ncurses readline"
 
 PACKAGES =+ 'gdbserver '
 FILES_gdbserver = '${bindir}/gdbserver'
 
 inherit autotools
 
-SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz"
+SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
+	   file://uclibc.patch;patch=1"
 
 LDFLAGS_append = " -s"
 export CC_FOR_BUILD = "${BUILD_CC}"
-- 
cgit v1.2.3