summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-21 20:45:40 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-21 20:45:40 +0000
commita7fb3ce7ef35e02519f6d576d93dbf14532b81d9 (patch)
treed5a2124b5f74d4402b29197006c48ae98009ea51 /app-text/texlive-core
parentStable on ppc wrt bug 199654 (diff)
downloadgentoo-2-a7fb3ce7ef35e02519f6d576d93dbf14532b81d9.tar.gz
gentoo-2-a7fb3ce7ef35e02519f6d576d93dbf14532b81d9.tar.bz2
gentoo-2-a7fb3ce7ef35e02519f6d576d93dbf14532b81d9.zip
bump makeindex limitations, will allow much longer paths to be used, bug #199590
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-text/texlive-core')
-rw-r--r--app-text/texlive-core/ChangeLog8
-rw-r--r--app-text/texlive-core/files/2007/texlive-core-2007-bump_makeindex_limitations.patch33
-rw-r--r--app-text/texlive-core/texlive-core-2007-r8.ebuild5
3 files changed, 44 insertions, 2 deletions
diff --git a/app-text/texlive-core/ChangeLog b/app-text/texlive-core/ChangeLog
index 5cf16c3a3e42..1230a2c0db35 100644
--- a/app-text/texlive-core/ChangeLog
+++ b/app-text/texlive-core/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/texlive-core
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/ChangeLog,v 1.29 2007/11/18 23:22:00 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/ChangeLog,v 1.30 2007/11/21 20:45:39 aballier Exp $
+
+ 21 Nov 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/2007/texlive-core-2007-bump_makeindex_limitations.patch,
+ texlive-core-2007-r8.ebuild:
+ bump makeindex limitations, will allow much longer paths to be used, bug
+ #199590
18 Nov 2007; Alexis Ballier <aballier@gentoo.org>
files/2007/texmf.d/05searchpaths.cnf:
diff --git a/app-text/texlive-core/files/2007/texlive-core-2007-bump_makeindex_limitations.patch b/app-text/texlive-core/files/2007/texlive-core-2007-bump_makeindex_limitations.patch
new file mode 100644
index 000000000000..7f6fed22f7c3
--- /dev/null
+++ b/app-text/texlive-core/files/2007/texlive-core-2007-bump_makeindex_limitations.patch
@@ -0,0 +1,33 @@
+2007-11-20 Karl Berry <karl@tug.org>
+
+ * mkind.c (sty_fn): use STRING_MAX, not LINE_MAX.
+ From Peter Ansell, 19 Nov 2007 10:11:40.
+
+ * mkind.h (STRING_MAX): bump again to 999.
+
+Index: source/texk/makeindexk/mkind.c
+===================================================================
+--- source/texk/makeindexk/mkind.c (revision 5516)
++++ source/texk/makeindexk/mkind.c (revision 5517)
+@@ -53,7 +53,7 @@
+ FILE *ilg_fp;
+
+ char *pgm_fn;
+-char sty_fn[LINE_MAX];
++char sty_fn[STRING_MAX];
+ char *idx_fn;
+ char ind[STRING_MAX];
+ char *ind_fn;
+Index: source/texk/makeindexk/mkind.h
+===================================================================
+--- source/texk/makeindexk/mkind.h (revision 5516)
++++ source/texk/makeindexk/mkind.h (revision 5517)
+@@ -337,7 +337,7 @@
+ #define ROMAN_MAX 16 /* maximum length of Roman page number */
+ /* field */
+
+-#define STRING_MAX 256 /* maximum length of host filename */
++#define STRING_MAX 999 /* maximum length of host filename */
+
+ /*====================================================================*/
+
diff --git a/app-text/texlive-core/texlive-core-2007-r8.ebuild b/app-text/texlive-core/texlive-core-2007-r8.ebuild
index 315d2a10e07a..5e42460910ff 100644
--- a/app-text/texlive-core/texlive-core-2007-r8.ebuild
+++ b/app-text/texlive-core/texlive-core-2007-r8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2007-r8.ebuild,v 1.1 2007/11/11 10:45:20 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2007-r8.ebuild,v 1.2 2007/11/21 20:45:39 aballier Exp $
inherit eutils flag-o-matic toolchain-funcs libtool autotools texlive-common
@@ -87,6 +87,9 @@ src_unpack() {
# dviljk buffer overflow issues, bug #198229
epatch "${WORKDIR}/${P}-dviljk-security-fixes.patch"
+# Bump makeindex limitations, bug #199590, patch by Peter Ansell
+ epatch "${FILESDIR}/${PV}/${P}-bump_makeindex_limitations.patch"
+
# security bug #196735
epatch "${FILESDIR}/${PV}/xpdf-3.02pl2.patch"