Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/bibtexu/files: bibtexu-3.71_p20110627-invoc_name.patch
Date: Tue, 28 Jun 2011 03:36:15
Message-Id: 20110628033605.2CBAF20051@flycatcher.gentoo.org
1 aballier 11/06/28 03:36:05
2
3 Added: bibtexu-3.71_p20110627-invoc_name.patch
4 Log:
5 add version from texlive 2011 pretest that supports both old and new kpathsea
6
7 (Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-tex/bibtexu/files/bibtexu-3.71_p20110627-invoc_name.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/bibtexu/files/bibtexu-3.71_p20110627-invoc_name.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/bibtexu/files/bibtexu-3.71_p20110627-invoc_name.patch?rev=1.1&content-type=text/plain
14
15 Index: bibtexu-3.71_p20110627-invoc_name.patch
16 ===================================================================
17 Index: texlive-20110627-source/texk/bibtexu/utils.c
18 ===================================================================
19 --- texlive-20110627-source.orig/texk/bibtexu/utils.c
20 +++ texlive-20110627-source/texk/bibtexu/utils.c
21 @@ -1261,7 +1261,11 @@ static void setup_bound_variable (Intege
22 {
23 #ifdef KPATHSEA
24 char *expansion = kpse_var_value (name);
25 +#ifdef kpse_invocation_name
26 const char *me = kpse_invocation_name;
27 +#else
28 + const char *me = program_invocation_name;
29 +#endif
30 const char *src = " or texmf.cnf";
31 #else
32 char *expansion = getenv (name);