summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/hexcurse/ChangeLog6
-rw-r--r--app-editors/hexcurse/Manifest15
-rw-r--r--app-editors/hexcurse/files/1.55-gcc.patch11
-rw-r--r--app-editors/hexcurse/hexcurse-1.55.ebuild10
4 files changed, 38 insertions, 4 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/Manifest b/app-editors/hexcurse/Manifest
index ac33a2e5ebd2..f693bd8f6191 100644
--- a/app-editors/hexcurse/Manifest
+++ b/app-editors/hexcurse/Manifest
@@ -1,4 +1,15 @@
-MD5 3c3e130d5b50b86b757dbaafbe15f2ed hexcurse-1.55.ebuild 578
-MD5 ea7844b034cf9b20b500234f5489f5f1 ChangeLog 356
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 3c9b1c105924c48bee5167d349b6f962 hexcurse-1.55.ebuild 668
MD5 d516054daaa4513c52b473b66c6e762a metadata.xml 340
+MD5 f81d314181594f81cde950ddbd604220 ChangeLog 497
MD5 f2612b71c6e5c2d976c704ed7f1e51fb files/digest-hexcurse-1.55 65
+MD5 840257c8cd7a545511437500924be4c5 files/1.55-gcc.patch 334
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.8 (GNU/Linux)
+
+iD8DBQFBGBlrHTu7gpaalycRAop9AJ9YlDWTxk+hTWAzzFQ9VS4egTZAUwCfe5pw
+weCPe/FHgjG+7nWo29LVmJA=
+=Y8vm
+-----END PGP SIGNATURE-----
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