diff --git a/meta/packages/gdb/files/sim-install-6.6.patch b/meta/packages/gdb/files/sim-install-6.6.patch new file mode 100644 index 0000000000..a39ceab01f --- /dev/null +++ b/meta/packages/gdb/files/sim-install-6.6.patch @@ -0,0 +1,12 @@ +--- gdb-6.1/sim/common/Makefile.in~ 2004-01-15 21:25:06.000000000 +0000 ++++ gdb-6.1/sim/common/Makefile.in 2004-07-22 17:07:46.237809032 +0100 +@@ -34,7 +34,7 @@ + + datadir = @datadir@ + mandir = @mandir@ +-man1dir = $(mandir)/man1 ++man1dir = $(DESTDIR)$(mandir)/man1 + infodir = @infodir@ + includedir = @includedir@ + + diff --git a/meta/packages/gdb/gdb-cross_6.6.bb b/meta/packages/gdb/gdb-cross_6.6.bb index 32076b529e..c4c6bf29fd 100644 --- a/meta/packages/gdb/gdb-cross_6.6.bb +++ b/meta/packages/gdb/gdb-cross_6.6.bb @@ -8,7 +8,7 @@ inherit autotools sdk S = "${WORKDIR}/gdb-${PV}" SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ - file://sim-install.patch;patch=1" + file://sim-install-6.6.patch;patch=1" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gdb-${PV}"