diff options
author | Bryon Roche <kain@gentoo.org> | 2002-05-06 21:16:26 +0000 |
---|---|---|
committer | Bryon Roche <kain@gentoo.org> | 2002-05-06 21:16:26 +0000 |
commit | e11db5d728cc9b9ada93aeca08f66c98f342cdae (patch) | |
tree | cbeeeae722b60fbb77e14d729340cb4939f38318 /sys-devel | |
parent | Portage 1.9.7 and cleanups (diff) | |
download | historical-e11db5d728cc9b9ada93aeca08f66c98f342cdae.tar.gz historical-e11db5d728cc9b9ada93aeca08f66c98f342cdae.tar.bz2 historical-e11db5d728cc9b9ada93aeca08f66c98f342cdae.zip |
PPC compatibility patch to fix some bool typedef stuff.
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gdb/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/gdb/files/digest-gdb-5.1.1-r1 | 1 | ||||
-rw-r--r-- | sys-devel/gdb/files/gdb-5.1.1-ppc-booltypes.patch | 26 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-5.1.1-r1.ebuild | 88 |
4 files changed, 122 insertions, 1 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index ef4364c5915c..5308a45f5b2e 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/gdb # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.3 2002/04/05 21:30:24 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.4 2002/05/06 21:16:02 kain Exp $ + +*gdb-5.1.1-r1 (6 May 2002) + + 6 May 2002; Kain <kain@kain.org> gdb-5.1.1-r1.ebuild + + PPC compatibility patch to fix some bool typedef stuff. *gdb-5.1.1 (5 Apr 2002) diff --git a/sys-devel/gdb/files/digest-gdb-5.1.1-r1 b/sys-devel/gdb/files/digest-gdb-5.1.1-r1 new file mode 100644 index 000000000000..ae3b64a8f9cf --- /dev/null +++ b/sys-devel/gdb/files/digest-gdb-5.1.1-r1 @@ -0,0 +1 @@ +MD5 805163efd455663745532c12893a96ca gdb-5.1.1.tar.gz 13874218 diff --git a/sys-devel/gdb/files/gdb-5.1.1-ppc-booltypes.patch b/sys-devel/gdb/files/gdb-5.1.1-ppc-booltypes.patch new file mode 100644 index 000000000000..d9f28337ded9 --- /dev/null +++ b/sys-devel/gdb/files/gdb-5.1.1-ppc-booltypes.patch @@ -0,0 +1,26 @@ +diff -urN gdb-5.1.1.orig/bfd/bfd-in.h gdb-5.1.1/bfd/bfd-in.h +--- gdb-5.1.1.orig/bfd/bfd-in.h Tue Jun 19 00:05:10 2001 ++++ gdb-5.1.1/bfd/bfd-in.h Mon May 6 13:04:05 2002 +@@ -99,7 +99,8 @@ + #define TRUE_FALSE_ALREADY_DEFINED + #endif /* MPW */ + #ifndef TRUE_FALSE_ALREADY_DEFINED +-typedef enum bfd_boolean {false, true} boolean; ++#include <stdbool.h> ++typedef enum bfd_boolean {bfd_fffalse, bfd_tttrue} boolean; + #define BFD_TRUE_FALSE + #else + /* Use enum names that will appear nowhere else. */ +diff -urN gdb-5.1.1.orig/bfd/bfd-in2.h gdb-5.1.1/bfd/bfd-in2.h +--- gdb-5.1.1.orig/bfd/bfd-in2.h Thu Jul 12 03:24:14 2001 ++++ gdb-5.1.1/bfd/bfd-in2.h Mon May 6 13:04:05 2002 +@@ -99,7 +99,8 @@ + #define TRUE_FALSE_ALREADY_DEFINED + #endif /* MPW */ + #ifndef TRUE_FALSE_ALREADY_DEFINED +-typedef enum bfd_boolean {false, true} boolean; ++#include <stdbool.h> ++typedef enum bfd_boolean {bfd_fffalse, bfd_tttrue} boolean; + #define BFD_TRUE_FALSE + #else + /* Use enum names that will appear nowhere else. */ diff --git a/sys-devel/gdb/gdb-5.1.1-r1.ebuild b/sys-devel/gdb/gdb-5.1.1-r1.ebuild new file mode 100644 index 000000000000..7cd8e6c74e8f --- /dev/null +++ b/sys-devel/gdb/gdb-5.1.1-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Tools Team <tools@gentoo.org> +# Author: Karl Trygve Kalleberg <karltk@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-5.1.1-r1.ebuild,v 1.1 2002/05/06 21:16:02 kain Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="GNU debugger" +HOMEPAGE="http://www.gnu.org/software/gdb/gdb.html" +SRC_URI="ftp://sourceware.cygnus.com/pub/gdb/releases/${P}.tar.gz + ftp://ftp.freesoftware.com/pub/sourceware/gdb/releases/${P}.tar.gz" + +DEPEND="virtual/glibc + >=sys-libs/ncurses-5.2-r2 + nls? ( sys-devel/gettext )" + +RDEPEND="virtual/glibc + >=sys-libs/ncurses-5.2-r2" + +src_unpack() { + cd ${WORKDIR} + unpack gdb-${PV}.tar.gz + cd ${S} + patch -p1 < ${FILESDIR}/gdb-5.1.1-ppc-booltypes.patch || die +} + +src_compile() { + + local myconf + + use nls || myconf="--disable-nls" + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --without-included-regex \ + --without-included-gettext \ + --host=${CHOST} \ + ${myconf} || die + + make || die +} + +src_install() { + + make \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + install || die + + cd gdb/doc + make \ + infodir=${D}/usr/share/info \ + install-info || die + + cd ${S}/bfd/doc + make \ + infodir=${D}/usr/share/info \ + install-info || die + + cd ${S} + + # These includes and libs are in binutils already + rm -f ${D}/usr/lib/libbfd.* + rm -r ${D}/usr/lib/libiberty.* + rm -f ${D}/usr/lib/libopcodes.* + + rm -rf ${D}/usr/include + + dodoc COPYING* README + + docinto gdb + dodoc gdb/CONTRIBUTE gdb/COPYING* gdb/README \ + gdb/MAINTAINERS gdb/NEWS gdb/ChangeLog* \ + gdb/TODO + + docinto sim + dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING + + docinto mmalloc + dodoc mmalloc/COPYING.LIB mmalloc/MAINTAINERS \ + mmalloc/ChangeLog mmalloc/TODO +} + + + + |