summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2007-05-19 21:13:10 +0000
committerChristian Faulhammer <opfer@gentoo.org>2007-05-19 21:13:10 +0000
commita5fc3c4e9e193beb09a342198b018a2964e588aa (patch)
tree043100fed9038410bb1d0393e1ea415005823ba2 /dev-tex
parentMarked stable on amd64 for bug #177743 (diff)
downloadgentoo-2-a5fc3c4e9e193beb09a342198b018a2964e588aa.tar.gz
gentoo-2-a5fc3c4e9e193beb09a342198b018a2964e588aa.tar.bz2
gentoo-2-a5fc3c4e9e193beb09a342198b018a2964e588aa.zip
added patch to fix search for multiple root directories. Fixes bes bug 144285, patch provided by Peter Ansell; added ~amd64, see bug 178928
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/mpm/ChangeLog8
-rw-r--r--dev-tex/mpm/files/mpm-2.5.2398_beta14-multipleroots.patch16
-rw-r--r--dev-tex/mpm/mpm-2.5.2398_beta14.ebuild13
3 files changed, 33 insertions, 4 deletions
diff --git a/dev-tex/mpm/ChangeLog b/dev-tex/mpm/ChangeLog
index f3810d416a73..df3238c1b98a 100644
--- a/dev-tex/mpm/ChangeLog
+++ b/dev-tex/mpm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tex/mpm
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/mpm/ChangeLog,v 1.4 2007/03/13 00:42:24 nattfodd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/mpm/ChangeLog,v 1.5 2007/05/19 21:13:10 opfer Exp $
+
+ 19 May 2007; Christian Faulhammer <opfer@gentoo.org>
+ +files/mpm-2.5.2398_beta14-multipleroots.patch,
+ mpm-2.5.2398_beta14.ebuild:
+ added patch to fix search for multiple root directories. Fixes bes bug
+ 144285, patch provided by Peter Ansell; added ~amd64, see bug 178928
12 Mar 2007; Alexandre Buisse <nattfodd@gentoo.org> metadata.xml:
Replaced text-markup by tex as maintaining herd (text-markup split).
diff --git a/dev-tex/mpm/files/mpm-2.5.2398_beta14-multipleroots.patch b/dev-tex/mpm/files/mpm-2.5.2398_beta14-multipleroots.patch
new file mode 100644
index 000000000000..f859baa959ec
--- /dev/null
+++ b/dev-tex/mpm/files/mpm-2.5.2398_beta14-multipleroots.patch
@@ -0,0 +1,16 @@
+--- Libraries/MiKTeX/Core/texmfroot.cpp 2006-07-25 16:45:02.000000000 +1000
++++ Libraries/MiKTeX/Core/texmfroot.cpp 2007-03-10 14:21:51.000000000 +1000
+@@ -229,11 +229,13 @@
+ UNEXPECTED_CONDITION
+ (T_("SessionImpl::InitializeRootDirectories"));
+ }
++ /* AVOIDING TEST FOR MULTIPLE ROOT DIRECTORIES IN $TEXMF AS IT FAILS ON GENTOO
+ if (find(vec.begin(), vec.end(), root.GetCurrent()) != vec.end())
+ {
+ UNEXPECTED_CONDITION
+ (T_("SessionImpl::InitializeRootDirectories"));
+ }
++ */
+ if (startupConfig.commonConfigRoot == root.GetCurrent())
+ {
+ if ((GetPolicyFlags() & PolicyFlags::DataRootHighestPriority) != 0)
diff --git a/dev-tex/mpm/mpm-2.5.2398_beta14.ebuild b/dev-tex/mpm/mpm-2.5.2398_beta14.ebuild
index 8e1c89b6de0f..ebad4004dd5d 100644
--- a/dev-tex/mpm/mpm-2.5.2398_beta14.ebuild
+++ b/dev-tex/mpm/mpm-2.5.2398_beta14.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/mpm/mpm-2.5.2398_beta14.ebuild,v 1.2 2007/01/28 06:44:50 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/mpm/mpm-2.5.2398_beta14.ebuild,v 1.3 2007/05/19 21:13:10 opfer Exp $
+
+inherit eutils
MY_PV=${PV/_beta/-beta-}
DESCRIPTION="MiKTeX Tools -- package manager for a TeX distribution"
@@ -9,7 +11,7 @@ SRC_URI="mirror://sourceforge/miktex/miktex-tools-${MY_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="net-misc/curl
@@ -18,8 +20,13 @@ DEPEND="net-misc/curl
S="${WORKDIR}/miktex-tools-${MY_PV}"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-multipleroots.patch"
+}
src_install() {
- make DESTDIR=${D} install || die "install failed"
+ make DESTDIR="${D}" install || die "install failed"
}
pkg_postinst() {