diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-01-14 22:55:30 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-01-14 22:55:30 +0000 |
commit | b940adfb81b7acbc8eff77b44e499ad4d6024e26 (patch) | |
tree | 0c74ff0ff55e50b0bbd753938b91266a36f3bb2a /app-text | |
parent | Removed redundant dependencies provided by java.eclass (bug #118651). (diff) | |
download | gentoo-2-b940adfb81b7acbc8eff77b44e499ad4d6024e26.tar.gz gentoo-2-b940adfb81b7acbc8eff77b44e499ad4d6024e26.tar.bz2 gentoo-2-b940adfb81b7acbc8eff77b44e499ad4d6024e26.zip |
Patch to fix -toc and segfault thanks to Ed Catmur <ed@catmur.co.uk> in bug 111457
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/enscript/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/enscript/Manifest | 3 | ||||
-rw-r--r-- | app-text/enscript/enscript-1.6.4-r1.ebuild | 42 | ||||
-rw-r--r-- | app-text/enscript/files/digest-enscript-1.6.4-r1 | 1 | ||||
-rw-r--r-- | app-text/enscript/files/enscript-catmur.patch | 26 |
5 files changed, 80 insertions, 1 deletions
diff --git a/app-text/enscript/ChangeLog b/app-text/enscript/ChangeLog index 74a0b819890f..94357f005d0f 100644 --- a/app-text/enscript/ChangeLog +++ b/app-text/enscript/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/enscript # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/enscript/ChangeLog,v 1.32 2006/01/14 22:39:19 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/enscript/ChangeLog,v 1.33 2006/01/14 22:55:30 genstef Exp $ + +*enscript-1.6.4-r1 (14 Jan 2006) + + 14 Jan 2006; Stefan Schweizer <genstef@gentoo.org> + +files/enscript-catmur.patch, +enscript-1.6.4-r1.ebuild: + Patch to fix -toc and segfault thanks to Ed Catmur <ed@catmur.co.uk> in bug + 111457 14 Jan 2006; Stefan Schweizer <genstef@gentoo.org> enscript-1.6.4.ebuild: Fix Configure thanks to Keri Harris <harriskeri@mcs.vuw.ac.nz> in bug 94948 diff --git a/app-text/enscript/Manifest b/app-text/enscript/Manifest index 434b020b5bc7..1d357eae0949 100644 --- a/app-text/enscript/Manifest +++ b/app-text/enscript/Manifest @@ -1,8 +1,11 @@ MD5 794f46700fef8cc85dce162de4fe79ac ChangeLog 3832 MD5 3ecae1143becc2047418f67b38407479 enscript-1.6.3-r3.ebuild 913 +MD5 e1bc6cada08bf5194b56ff06c270163a enscript-1.6.4-r1.ebuild 1020 MD5 f1204f14336bb01477ad8e1721eabee9 enscript-1.6.4.ebuild 978 MD5 528d3e39a7e18ff200cccfd037ee0422 files/digest-enscript-1.6.3-r3 66 MD5 96b207f1bc22828660e417ebaab43d03 files/digest-enscript-1.6.4 67 +MD5 96b207f1bc22828660e417ebaab43d03 files/digest-enscript-1.6.4-r1 67 MD5 2982cb4ed62b45684d5e6e015c34a52e files/enscript-1.6.3-language.patch 456 MD5 e105a37406fc2ff7aa4895780e4b5a66 files/enscript-1.6.3-security.patch 5447 +MD5 854bcc9d4ce6d573dfa5133a55e8ddca files/enscript-catmur.patch 604 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 diff --git a/app-text/enscript/enscript-1.6.4-r1.ebuild b/app-text/enscript/enscript-1.6.4-r1.ebuild new file mode 100644 index 000000000000..4e155f89eb8a --- /dev/null +++ b/app-text/enscript/enscript-1.6.4-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/enscript/enscript-1.6.4-r1.ebuild,v 1.1 2006/01/14 22:55:30 genstef Exp $ + +inherit eutils + +DESCRIPTION="powerful text-to-postscript converter" +SRC_URI="http://www.iki.fi/mtr/genscript/${P}.tar.gz" +HOMEPAGE="http://www.gnu.org/software/enscript/enscript.html" + +KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~alpha ~mips ~ppc64" +SLOT="0" +LICENSE="GPL-2" +IUSE="nls" + +DEPEND="sys-devel/flex + sys-devel/bison + nls? ( sys-devel/gettext )" +RDEPEND="nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/enscript-1.6.3-security.patch + epatch ${FILESDIR}/enscript-1.6.3-language.patch + epatch ${FILESDIR}/enscript-catmur.patch +} + +src_compile() { + unset CC + econf `use_enable nls` || die + emake || die +} + +src_install() { + einstall || die + dodoc AUTHORS ChangeLog FAQ.html NEWS README* THANKS TODO +} + +pkg_postinst() { + einfo "Now, customize /etc/enscript.cfg." +} diff --git a/app-text/enscript/files/digest-enscript-1.6.4-r1 b/app-text/enscript/files/digest-enscript-1.6.4-r1 new file mode 100644 index 000000000000..55e9e490e932 --- /dev/null +++ b/app-text/enscript/files/digest-enscript-1.6.4-r1 @@ -0,0 +1 @@ +MD5 b5174b59e4a050fb462af5dbf28ebba3 enscript-1.6.4.tar.gz 1036734 diff --git a/app-text/enscript/files/enscript-catmur.patch b/app-text/enscript/files/enscript-catmur.patch new file mode 100644 index 000000000000..bd4b222f7f36 --- /dev/null +++ b/app-text/enscript/files/enscript-catmur.patch @@ -0,0 +1,26 @@ +--- src/main.c 2005/11/04 11:02:27 1.1 ++++ src/main.c 2005/11/04 11:16:28 +@@ -1695,7 +1695,7 @@ name width\theight\tllx\tlly + } + + /* Table of Contents. */ +- if (toc) ++ if (ofp != NULL && toc) + { + /* This is really cool... */ + +@@ -1714,9 +1714,11 @@ name width\theight\tllx\tlly + process_file (_("Table of Contents"), &is, 1); + is_close (&is); + } +- +- /* Clean up toc file. */ +- fclose (toc_fp); ++ else ++ { ++ /* Clean up toc file. */ ++ fclose (toc_fp); ++ } + } + + /* Give trailer a chance to dump itself. */ |