diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-04-21 19:51:42 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-04-21 19:51:42 +0000 |
commit | c34a4cc25a9f4fad67e750a5be8b94fdc2ed5313 (patch) | |
tree | 3bf479200e299f328c0198ae3ebd5e31885b62f2 /app-text | |
parent | virtual/xft now defaults to xfree (diff) | |
download | gentoo-2-c34a4cc25a9f4fad67e750a5be8b94fdc2ed5313.tar.gz gentoo-2-c34a4cc25a9f4fad67e750a5be8b94fdc2ed5313.tar.bz2 gentoo-2-c34a4cc25a9f4fad67e750a5be8b94fdc2ed5313.zip |
patch to fix xterm issues
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/gmanedit/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/gmanedit/Manifest | 6 | ||||
-rw-r--r-- | app-text/gmanedit/files/digest-gmanedit-0.3.3-r3 | 1 | ||||
-rw-r--r-- | app-text/gmanedit/files/gmanedit-0.3.3-xterm.patch | 29 | ||||
-rw-r--r-- | app-text/gmanedit/gmanedit-0.3.3-r3.ebuild | 30 |
5 files changed, 74 insertions, 1 deletions
diff --git a/app-text/gmanedit/ChangeLog b/app-text/gmanedit/ChangeLog index 0ee4d0933883..dffd6618e9a6 100644 --- a/app-text/gmanedit/ChangeLog +++ b/app-text/gmanedit/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/gmanedit # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/gmanedit/ChangeLog,v 1.8 2003/02/12 05:24:43 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/gmanedit/ChangeLog,v 1.9 2003/04/21 19:51:26 liquidx Exp $ + +*gmanedit-0.3.3-r3 (21 Apr 2003) + + 21 Apr 2003; Alastair Tse <liquidx@gentoo.org> gmanedit-0.3.3-r3.ebuild, + files/gmanedit-0.3.3-xterm.patch: + fix invalid xterm params. thanks to red0x <red0x@users.sourceforge.net>. + (#19459) 14 Jan 2003; foser <foser@gentoo.org> gmanedit-0.3.3-r2.ebuild : Disable NLS, it breaks (#13859) diff --git a/app-text/gmanedit/Manifest b/app-text/gmanedit/Manifest new file mode 100644 index 000000000000..3f391b9a0c85 --- /dev/null +++ b/app-text/gmanedit/Manifest @@ -0,0 +1,6 @@ +MD5 bba964d45a568af7c901052096dfcb23 ChangeLog 1761 +MD5 18fe437b4bd7de4eda2d73cfdc7bbd4c gmanedit-0.3.3-r2.ebuild 671 +MD5 348c3cc3ba90de3e0c36738b80d6013d gmanedit-0.3.3-r3.ebuild 726 +MD5 b5045ec85292bc55da60d60daf5c1821 files/digest-gmanedit-0.3.3-r2 67 +MD5 b5045ec85292bc55da60d60daf5c1821 files/digest-gmanedit-0.3.3-r3 67 +MD5 bd936e55b8a951bb0341f08e7cbe12ee files/gmanedit-0.3.3-xterm.patch 681 diff --git a/app-text/gmanedit/files/digest-gmanedit-0.3.3-r3 b/app-text/gmanedit/files/digest-gmanedit-0.3.3-r3 new file mode 100644 index 000000000000..63e33d30a72b --- /dev/null +++ b/app-text/gmanedit/files/digest-gmanedit-0.3.3-r3 @@ -0,0 +1 @@ +MD5 57c01c39d928f28644552e2b6491e390 gmanedit-0.3.3.tar.bz2 333208 diff --git a/app-text/gmanedit/files/gmanedit-0.3.3-xterm.patch b/app-text/gmanedit/files/gmanedit-0.3.3-xterm.patch new file mode 100644 index 000000000000..e23f93501655 --- /dev/null +++ b/app-text/gmanedit/files/gmanedit-0.3.3-xterm.patch @@ -0,0 +1,29 @@ +--- gmanedit-0.3.3.orig/src/callbacks.c 2000-09-06 04:46:47.000000000 -0700 ++++ gmanedit-0.3.3.orig/src/callbacks.c 2003-04-17 00:35:10.000000000 -0700 +@@ -821,13 +821,14 @@ + + if (datos==NULL) + { +- strcpy(command,"xterm -e man -l "); ++ // forget "xterm -e man -l", it doesn't work ++ strcpy(command,"xterm -e man "); + strcat(command,temp); + } + else + { + strcpy(command,datos); +- strcat(command," -l "); ++ strcat(command," "); + strcat(command,temp); + } + +@@ -851,6 +852,9 @@ + + if (bytes_written>0) + ejecuta(command); ++ // calling unlink here, without a pause, would cause the preview ++ //window to open, then close immediately ++ sleep(2); + unlink(temp); + } + diff --git a/app-text/gmanedit/gmanedit-0.3.3-r3.ebuild b/app-text/gmanedit/gmanedit-0.3.3-r3.ebuild new file mode 100644 index 000000000000..85919d965cfe --- /dev/null +++ b/app-text/gmanedit/gmanedit-0.3.3-r3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/gmanedit/gmanedit-0.3.3-r3.ebuild,v 1.1 2003/04/21 19:51:26 liquidx Exp $ + +inherit eutils + +DESCRIPTION="Gnome based manpage editor" +SRC_URI="http://gmanedit.sourceforge.net/files/${P}.tar.bz2" +HOMEPAGE="http://gmanedit.sourceforge.net/" + +KEYWORDS="~x86 ~sparc" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND="virtual/x11 + >=gnome-base/gnome-libs-1.4.1.4" + +S=${WORKDIR}/${P}.orig + +src_compile() { + epatch ${FILESDIR}/${P}-xterm.patch + econf --disable-nls + make || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc AUTHORS COPYING ChangeLog TODO README NEWS +} |