diff options
-rw-r--r-- | app-editors/hexcurse/ChangeLog | 6 | ||||
-rw-r--r-- | app-editors/hexcurse/files/1.55-gcc.patch | 11 | ||||
-rw-r--r-- | app-editors/hexcurse/hexcurse-1.55.ebuild | 10 |
3 files changed, 25 insertions, 2 deletions
diff --git a/app-editors/hexcurse/ChangeLog b/app-editors/hexcurse/ChangeLog index f9485985a7d8..8a90f0f2ab0d 100644 --- a/app-editors/hexcurse/ChangeLog +++ b/app-editors/hexcurse/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-editors/hexcurse # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/hexcurse/ChangeLog,v 1.2 2004/06/24 21:55:49 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/hexcurse/ChangeLog,v 1.3 2004/08/10 00:39:26 vapier Exp $ + + 09 Aug 2004; Mike Frysinger <vapier@gentoo.org> +files/1.55-gcc.patch, + hexcurse-1.55.ebuild: + Add gcc-3.4 patch by Aard Keimpema #59845. *hexcurse-1.55 (21 Feb 2004) diff --git a/app-editors/hexcurse/files/1.55-gcc.patch b/app-editors/hexcurse/files/1.55-gcc.patch new file mode 100644 index 000000000000..5e1eade3a467 --- /dev/null +++ b/app-editors/hexcurse/files/1.55-gcc.patch @@ -0,0 +1,11 @@ +--- src/getopt.c.orig 2002-03-21 17:55:54.000000000 +0100 ++++ src/getopt.c 2004-08-09 12:52:39.592951560 +0200 +@@ -36,8 +36,6 @@ + * enables hexcurse to be compiled with SGI's proprietary compiler */ + #ifdef _SGIAPI + #include <alloca.h> +-#else +-char *alloca (); + #endif + #define __alloca alloca + /* end of modification */ diff --git a/app-editors/hexcurse/hexcurse-1.55.ebuild b/app-editors/hexcurse/hexcurse-1.55.ebuild index 767c916345b7..311c5699e2ba 100644 --- a/app-editors/hexcurse/hexcurse-1.55.ebuild +++ b/app-editors/hexcurse/hexcurse-1.55.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/hexcurse/hexcurse-1.55.ebuild,v 1.5 2004/06/24 21:55:49 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/hexcurse/hexcurse-1.55.ebuild,v 1.6 2004/08/10 00:39:26 vapier Exp $ + +inherit eutils DESCRIPTION="ncurses based hex editor" HOMEPAGE="http://www.jewfish.net/software/" @@ -13,6 +15,12 @@ IUSE="" DEPEND=">=sys-libs/ncurses-5.2" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-gcc.patch +} + src_install() { make install DESTDIR=${D} || die "Install failed" dodoc AUTHORS ChangeLog NEWS README |