1 |
aballier 17/06/06 14:16:10 |
2 |
|
3 |
Added: 010_all_installedscripts.patch |
4 |
020_all_a2ping_invocation.patch |
5 |
030_all_updmap_normalize.patch |
6 |
040_all_remove_define_abs.patch |
7 |
050_all_latex2man_predictable_tmp.patch |
8 |
060_all_luatex_zlib.patch series |
9 |
Log: |
10 |
start adding patches for tl2017 |
11 |
|
12 |
Revision Changes Path |
13 |
1.1 src/patchsets/texlive/2017/texlive-core/010_all_installedscripts.patch |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/010_all_installedscripts.patch?rev=1.1&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/010_all_installedscripts.patch?rev=1.1&content-type=text/plain |
17 |
|
18 |
Index: 010_all_installedscripts.patch |
19 |
=================================================================== |
20 |
Index: texlive-20170524-source/texk/texlive/tl_scripts/Makefile.in |
21 |
=================================================================== |
22 |
--- texlive-20170524-source.orig/texk/texlive/tl_scripts/Makefile.in |
23 |
+++ texlive-20170524-source/texk/texlive/tl_scripts/Makefile.in |
24 |
@@ -262,13 +262,8 @@ sh_scripts = \ |
25 |
allneeded \ |
26 |
dvi2fax \ |
27 |
dvired \ |
28 |
- fontinst \ |
29 |
kpsetool \ |
30 |
kpsewhere \ |
31 |
- ps2frag \ |
32 |
- pslatex \ |
33 |
- rubibtex \ |
34 |
- rumakeindex \ |
35 |
texconfig-dialog \ |
36 |
texconfig-sys \ |
37 |
texconfig \ |
38 |
@@ -292,13 +287,8 @@ dist_man_MANS = \ |
39 |
e2pall.1 \ |
40 |
fmtutil.1 \ |
41 |
fmtutil.cnf.5 \ |
42 |
- fontinst.1 \ |
43 |
kpsetool.1 \ |
44 |
kpsewhere.1 \ |
45 |
- ps2frag.1 \ |
46 |
- pslatex.1 \ |
47 |
- rubibtex.1 \ |
48 |
- rumakeindex.1 \ |
49 |
texconfig.1 \ |
50 |
texlinks.1 \ |
51 |
updmap.1 \ |
52 |
Index: texlive-20170524-source/texk/texlive/linked_scripts/Makefile.in |
53 |
=================================================================== |
54 |
--- texlive-20170524-source.orig/texk/texlive/linked_scripts/Makefile.in |
55 |
+++ texlive-20170524-source/texk/texlive/linked_scripts/Makefile.in |
56 |
@@ -268,31 +268,14 @@ EXTRA_DIST = scripts.lst context/stubs/u |
57 |
texmf_scriptsdir = $(datarootdir)/texmf-dist/scripts |
58 |
texmf_shell_scripts = \ |
59 |
adhocfilelist/adhocfilelist.sh \ |
60 |
- bibexport/bibexport.sh \ |
61 |
checklistings/checklistings.sh \ |
62 |
dtxgen/dtxgen \ |
63 |
installfont/installfont-tl \ |
64 |
latexfileversion/latexfileversion \ |
65 |
- listbib/listbib \ |
66 |
listings-ext/listings-ext.sh \ |
67 |
ltxfileinfo/ltxfileinfo \ |
68 |
- lua2dox/lua2dox_filter \ |
69 |
pdfbook2/pdfbook2 \ |
70 |
- pdfjam/pdf180 \ |
71 |
- pdfjam/pdf270 \ |
72 |
- pdfjam/pdf90 \ |
73 |
- pdfjam/pdfbook \ |
74 |
- pdfjam/pdfflip \ |
75 |
- pdfjam/pdfjam \ |
76 |
- pdfjam/pdfjam-pocketmod \ |
77 |
- pdfjam/pdfjam-slides3up \ |
78 |
- pdfjam/pdfjam-slides6up \ |
79 |
- pdfjam/pdfjoin \ |
80 |
- pdfjam/pdfnup \ |
81 |
- pdfjam/pdfpun \ |
82 |
pdfxup/pdfxup \ |
83 |
- pst-pdf/ps4pdf \ |
84 |
- simpdftex/simpdftex \ |
85 |
texosquery/texosquery.sh \ |
86 |
texosquery/texosquery-jre5.sh \ |
87 |
texosquery/texosquery-jre8.sh \ |
88 |
@@ -300,101 +283,37 @@ texmf_shell_scripts = \ |
89 |
|
90 |
texmf_other_scripts = \ |
91 |
a2ping/a2ping.pl \ |
92 |
- accfonts/mkt1font \ |
93 |
- accfonts/vpl2ovp \ |
94 |
- accfonts/vpl2vpl \ |
95 |
- arara/arara.sh \ |
96 |
- authorindex/authorindex \ |
97 |
bundledoc/arlatex \ |
98 |
bundledoc/bundledoc \ |
99 |
- cachepic/cachepic.tlu \ |
100 |
- checkcites/checkcites.lua \ |
101 |
- cjk-gs-integrate/cjk-gs-integrate.pl \ |
102 |
- context/perl/mptopdf.pl \ |
103 |
- convbkmk/convbkmk.rb \ |
104 |
crossrefware/bbl2bib.pl \ |
105 |
- crossrefware/bibdoiadd.pl \ |
106 |
crossrefware/bibmradd.pl \ |
107 |
- crossrefware/bibzbladd.pl \ |
108 |
- crossrefware/ltx2crossrefxml.pl \ |
109 |
ctanify/ctanify \ |
110 |
ctanupload/ctanupload.pl \ |
111 |
de-macro/de-macro \ |
112 |
- diadia/diadia.lua \ |
113 |
- dosepsbin/dosepsbin.pl \ |
114 |
dviasm/dviasm.py \ |
115 |
- ebong/ebong.py \ |
116 |
- epspdf/epspdf.tlu \ |
117 |
- epspdf/epspdftk.tcl \ |
118 |
- epstopdf/epstopdf.pl \ |
119 |
- exceltex/exceltex \ |
120 |
- fig4latex/fig4latex \ |
121 |
findhyph/findhyph \ |
122 |
- fontools/afm2afm \ |
123 |
- fontools/autoinst \ |
124 |
- fontools/ot2kpx \ |
125 |
fragmaster/fragmaster.pl \ |
126 |
- getmap/getmapdl.lua \ |
127 |
- glossaries/makeglossaries \ |
128 |
glossaries/makeglossaries-lite.lua \ |
129 |
- kotex-utils/jamo-normalize.pl \ |
130 |
- kotex-utils/komkindex.pl \ |
131 |
- kotex-utils/ttf2kotexfont.pl \ |
132 |
latex-git-log/latex-git-log \ |
133 |
latex-papersize/latex-papersize.py \ |
134 |
latex2man/latex2man \ |
135 |
latex2nemeth/latex2nemeth \ |
136 |
- latexdiff/latexdiff-vc.pl \ |
137 |
- latexdiff/latexdiff.pl \ |
138 |
- latexdiff/latexrevise.pl \ |
139 |
latexindent/latexindent.pl \ |
140 |
- latexmk/latexmk.pl \ |
141 |
latexpand/latexpand \ |
142 |
- lilyglyphs/lily-glyph-commands.py \ |
143 |
- lilyglyphs/lily-image-commands.py \ |
144 |
- lilyglyphs/lily-rebuild-pdfs.py \ |
145 |
ltximg/ltximg.pl \ |
146 |
- luaotfload/luaotfload-tool.lua \ |
147 |
lwarp/lwarpmk.lua \ |
148 |
- m-tx/m-tx.lua \ |
149 |
- makedtx/makedtx.pl \ |
150 |
make4ht/make4ht \ |
151 |
match_parens/match_parens \ |
152 |
- mathspic/mathspic.pl \ |
153 |
- mf2pt1/mf2pt1.pl \ |
154 |
- mkgrkindex/mkgrkindex \ |
155 |
mkjobtexmf/mkjobtexmf.pl \ |
156 |
- mkpic/mkpic \ |
157 |
- multibibliography/multibibliography.pl \ |
158 |
- musixtex/musixflx.lua \ |
159 |
- musixtex/musixtex.lua \ |
160 |
- oberdiek/pdfatfi.pl \ |
161 |
- pax/pdfannotextractor.pl \ |
162 |
pdfcrop/pdfcrop.pl \ |
163 |
pdflatexpicscale/pdflatexpicscale.pl \ |
164 |
- pedigree-perl/pedigree.pl \ |
165 |
- perltex/perltex.pl \ |
166 |
- petri-nets/pn2pdf \ |
167 |
pfarrei/a5toa4.tlu \ |
168 |
pfarrei/pfarrei.tlu \ |
169 |
pkfix-helper/pkfix-helper \ |
170 |
pkfix/pkfix.pl \ |
171 |
- pmxchords/pmxchords.lua \ |
172 |
- pst2pdf/pst2pdf.pl \ |
173 |
- ptex-fontmaps/kanji-config-updmap-sys.sh \ |
174 |
- ptex-fontmaps/kanji-config-updmap-user.sh \ |
175 |
- ptex-fontmaps/kanji-config-updmap.pl \ |
176 |
- ptex-fontmaps/kanji-fontmap-creator.pl \ |
177 |
- ptex2pdf/ptex2pdf.lua \ |
178 |
purifyeps/purifyeps \ |
179 |
- pygmentex/pygmentex.py \ |
180 |
- pythontex/depythontex.py \ |
181 |
- pythontex/pythontex.py \ |
182 |
- rubik/rubikrotation.pl \ |
183 |
- splitindex/splitindex.pl \ |
184 |
srcredact/srcredact.pl \ |
185 |
sty2dtx/sty2dtx.pl \ |
186 |
- svn-multi/svn-multi.pl \ |
187 |
tex4ebook/tex4ebook \ |
188 |
texcount/texcount.pl \ |
189 |
texdef/texdef.pl \ |
190 |
@@ -405,27 +324,13 @@ texmf_other_scripts = \ |
191 |
texlive/fmtutil-sys.sh \ |
192 |
texlive/fmtutil-user.sh \ |
193 |
texlive/fmtutil.pl \ |
194 |
- texlive/rungs.tlu \ |
195 |
- texlive/tlmgr.pl \ |
196 |
texlive/updmap-sys.sh \ |
197 |
texlive/updmap-user.sh \ |
198 |
texlive/updmap.pl \ |
199 |
texliveonfly/texliveonfly.py \ |
200 |
- texloganalyser/texloganalyser \ |
201 |
- thumbpdf/thumbpdf.pl \ |
202 |
- ulqda/ulqda.pl \ |
203 |
- urlbst/urlbst \ |
204 |
- vpe/vpe.pl \ |
205 |
- yplan/yplan |
206 |
+ texloganalyser/texloganalyser |
207 |
|
208 |
-texmf_context_scripts = \ |
209 |
- context/stubs/unix/context \ |
210 |
- context/stubs/unix/contextjit \ |
211 |
- context/stubs/unix/luatools \ |
212 |
- context/stubs/unix/mtxrun \ |
213 |
- context/stubs/unix/mtxrunjit \ |
214 |
- context/stubs/unix/texexec \ |
215 |
- context/stubs/unix/texmfstart |
216 |
+texmf_context_scripts = |
217 |
|
218 |
nobase_dist_texmf_scripts_SCRIPTS = \ |
219 |
$(texmf_shell_scripts) \ |
220 |
@@ -433,7 +338,6 @@ nobase_dist_texmf_scripts_SCRIPTS = \ |
221 |
$(texmf_context_scripts) |
222 |
|
223 |
bin_links = \ |
224 |
- epstopdf:repstopdf \ |
225 |
pdfcrop:rpdfcrop |
226 |
|
227 |
relpath = $(SHELL) $(top_srcdir)/../../build-aux/relpath |
228 |
|
229 |
|
230 |
|
231 |
1.1 src/patchsets/texlive/2017/texlive-core/020_all_a2ping_invocation.patch |
232 |
|
233 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/020_all_a2ping_invocation.patch?rev=1.1&view=markup |
234 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/020_all_a2ping_invocation.patch?rev=1.1&content-type=text/plain |
235 |
|
236 |
Index: 020_all_a2ping_invocation.patch |
237 |
=================================================================== |
238 |
Index: texlive-20170524-source/texk/texlive/linked_scripts/a2ping/a2ping.pl |
239 |
=================================================================== |
240 |
--- texlive-20170524-source.orig/texk/texlive/linked_scripts/a2ping/a2ping.pl |
241 |
+++ texlive-20170524-source/texk/texlive/linked_scripts/a2ping/a2ping.pl |
242 |
@@ -1,9 +1,5 @@ |
243 |
-#! /bin/sh |
244 |
-eval '(exit $?0)' && eval 'PERL_BADLANG=x;export PERL_BADLANG;: \ |
245 |
-;exec perl -x -S -- "$0" ${1+"$@"};#'if 0; |
246 |
-eval 'setenv PERL_BADLANG x;exec perl -x -S -- "$0" $argv:q;#'.q+ |
247 |
-#!perl -w |
248 |
-package Htex::a2ping; $0=~/(.*)/s;unshift@INC,'.';do($1);die$@if$@;__END__+if !1; |
249 |
+#! /usr/bin/perl -w |
250 |
+package Htex::a2ping; |
251 |
# This Perl script was generated by JustLib2 at Wed Apr 23 09:14:13 2003. |
252 |
# Don't touch/remove any lines above; http://www.inf.bme.hu/~pts/justlib |
253 |
# |
254 |
Index: texlive-20170524-source/texmf-dist/scripts/a2ping/a2ping.pl |
255 |
=================================================================== |
256 |
--- texlive-20170524-source.orig/texmf-dist/scripts/a2ping/a2ping.pl |
257 |
+++ texlive-20170524-source/texmf-dist/scripts/a2ping/a2ping.pl |
258 |
@@ -1,9 +1,5 @@ |
259 |
-#! /bin/sh |
260 |
-eval '(exit $?0)' && eval 'PERL_BADLANG=x;export PERL_BADLANG;: \ |
261 |
-;exec perl -x -S -- "$0" ${1+"$@"};#'if 0; |
262 |
-eval 'setenv PERL_BADLANG x;exec perl -x -S -- "$0" $argv:q;#'.q+ |
263 |
-#!perl -w |
264 |
-package Htex::a2ping; $0=~/(.*)/s;unshift@INC,'.';do($1);die$@if$@;__END__+if !1; |
265 |
+#! /usr/bin/perl -w |
266 |
+package Htex::a2ping; |
267 |
# This Perl script was generated by JustLib2 at Wed Apr 23 09:14:13 2003. |
268 |
# Don't touch/remove any lines above; http://www.inf.bme.hu/~pts/justlib |
269 |
# |
270 |
|
271 |
|
272 |
|
273 |
1.1 src/patchsets/texlive/2017/texlive-core/030_all_updmap_normalize.patch |
274 |
|
275 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/030_all_updmap_normalize.patch?rev=1.1&view=markup |
276 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/030_all_updmap_normalize.patch?rev=1.1&content-type=text/plain |
277 |
|
278 |
Index: 030_all_updmap_normalize.patch |
279 |
=================================================================== |
280 |
https://bugs.gentoo.org/show_bug.cgi?id=428350 |
281 |
Normalize the path here too otherwise it may fail. |
282 |
|
283 |
Index: texlive-20170524-source/texmf-dist/scripts/texlive/updmap.pl |
284 |
=================================================================== |
285 |
--- texlive-20170524-source.orig/texmf-dist/scripts/texlive/updmap.pl |
286 |
+++ texlive-20170524-source/texmf-dist/scripts/texlive/updmap.pl |
287 |
@@ -1483,7 +1483,7 @@ sub setOptions { |
288 |
|
289 |
sub enable_disable_maps { |
290 |
my (@what) = @_; |
291 |
- my $tc = $alldata->{'changes_config'}; |
292 |
+ my $tc = Cwd::abs_path($alldata->{'changes_config'}); |
293 |
die "$prg: top config file $tc has not been read." |
294 |
if (!defined($alldata->{'updmap'}{$tc})); |
295 |
|
296 |
|
297 |
|
298 |
|
299 |
1.1 src/patchsets/texlive/2017/texlive-core/040_all_remove_define_abs.patch |
300 |
|
301 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/040_all_remove_define_abs.patch?rev=1.1&view=markup |
302 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/040_all_remove_define_abs.patch?rev=1.1&content-type=text/plain |
303 |
|
304 |
Index: 040_all_remove_define_abs.patch |
305 |
=================================================================== |
306 |
utils/pmx/pmx-2.7.0/libf2c/f2c.h: remove unnecesary macro for abs() |
307 |
|
308 |
On POSIX systems, abs() is a function provided by your C Standard library, |
309 |
so we don't need to define it as a macro. It is dangerous to do so because |
310 |
if f2c.h is included before stdlib.h, then then macro breaks the function |
311 |
prototype. |
312 |
|
313 |
See |
314 |
|
315 |
https://bugs.gentoo.org/show_bug.cgi?id=510770 |
316 |
|
317 |
Signed-off-by: Felix Janda <felix.janda@××××××.de> |
318 |
Signed-off-by: Anthony G. Basile <blueness@g.o> |
319 |
|
320 |
Index: texlive-20170524-source/utils/pmx/pmx-src/libf2c/f2c.h |
321 |
=================================================================== |
322 |
--- texlive-20170524-source.orig/utils/pmx/pmx-src/libf2c/f2c.h |
323 |
+++ texlive-20170524-source/utils/pmx/pmx-src/libf2c/f2c.h |
324 |
@@ -162,8 +162,8 @@ struct Namelist { |
325 |
}; |
326 |
typedef struct Namelist Namelist; |
327 |
|
328 |
-#define abs(x) ((x) >= 0 ? (x) : -(x)) |
329 |
-#define dabs(x) (doublereal)abs(x) |
330 |
+extern int abs(int x); |
331 |
+#define dabs(x) ((doublereal)((x) >= 0 ? (x) : -(x))) |
332 |
#undef min |
333 |
#undef max |
334 |
#define min(a,b) ((a) <= (b) ? (a) : (b)) |
335 |
|
336 |
|
337 |
|
338 |
1.1 src/patchsets/texlive/2017/texlive-core/050_all_latex2man_predictable_tmp.patch |
339 |
|
340 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/050_all_latex2man_predictable_tmp.patch?rev=1.1&view=markup |
341 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/050_all_latex2man_predictable_tmp.patch?rev=1.1&content-type=text/plain |
342 |
|
343 |
Index: 050_all_latex2man_predictable_tmp.patch |
344 |
=================================================================== |
345 |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668779 |
346 |
https://bugs.gentoo.org/show_bug.cgi?id=432144 |
347 |
CVE-2012-2120 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2120) |
348 |
|
349 |
Index: texlive-20170524-source/texmf-dist/scripts/latex2man/latex2man |
350 |
=================================================================== |
351 |
--- texlive-20170524-source.orig/texmf-dist/scripts/latex2man/latex2man |
352 |
+++ texlive-20170524-source/texmf-dist/scripts/latex2man/latex2man |
353 |
@@ -29,8 +29,6 @@ sub date2str; |
354 |
$VERSION = "1.25"; |
355 |
$DATE = date2str ('$Date: 2017/06/06 14:16:10 $' =~ m|(\d+/\d+/\d+)|); |
356 |
|
357 |
-$tmp = "/tmp/$CMD.$$"; |
358 |
- |
359 |
################################################################## |
360 |
# check option and arguments |
361 |
################################################################## |
362 |
@@ -2012,6 +2010,8 @@ if ($opt_t) { |
363 |
|
364 |
open (my $SRC, "<$SrcFile") || die "$CMD: Can't open file \`$SrcFile' for reading.\n"; |
365 |
if ($opt_H || $opt_T) { |
366 |
+ $tmp = `mktemp` || die; |
367 |
+ chomp $tmp; |
368 |
# DestFile will be written in the postprocess |
369 |
open (DEST, ">$tmp") || die "$CMD: Can't open file \`$tmp' for writing.\n"; |
370 |
} else { |
371 |
|
372 |
|
373 |
|
374 |
1.1 src/patchsets/texlive/2017/texlive-core/060_all_luatex_zlib.patch |
375 |
|
376 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/060_all_luatex_zlib.patch?rev=1.1&view=markup |
377 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/060_all_luatex_zlib.patch?rev=1.1&content-type=text/plain |
378 |
|
379 |
Index: 060_all_luatex_zlib.patch |
380 |
=================================================================== |
381 |
https://bugs.gentoo.org/show_bug.cgi?id=310487 |
382 |
https://bugs.gentoo.org/show_bug.cgi?id=605766 |
383 |
|
384 |
Index: texlive-20170524-source/texk/web2c/luatexdir/luazlib/lzlib.c |
385 |
=================================================================== |
386 |
--- texlive-20170524-source.orig/texk/web2c/luatexdir/luazlib/lzlib.c |
387 |
+++ texlive-20170524-source/texk/web2c/luatexdir/luazlib/lzlib.c |
388 |
@@ -549,14 +549,6 @@ LUALIB_API int luaopen_zlib(lua_State *L |
389 |
|
390 |
/* ====================================================================== */ |
391 |
|
392 |
- /* make sure header and library version are consistent */ |
393 |
- const char* version = zlibVersion(); |
394 |
- if (strncmp(version, ZLIB_VERSION, 4)) |
395 |
- { |
396 |
- lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version); |
397 |
- lua_error(L); |
398 |
- } |
399 |
- |
400 |
/* create new metatable for zlib compression structures */ |
401 |
luaL_newmetatable(L, ZSTREAMMETA); |
402 |
lua_pushliteral(L, "__index"); |
403 |
|
404 |
|
405 |
|
406 |
1.1 src/patchsets/texlive/2017/texlive-core/series |
407 |
|
408 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/series?rev=1.1&view=markup |
409 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2017/texlive-core/series?rev=1.1&content-type=text/plain |
410 |
|
411 |
Index: series |
412 |
=================================================================== |
413 |
010_all_installedscripts.patch |
414 |
020_all_a2ping_invocation.patch |
415 |
030_all_updmap_normalize.patch |
416 |
040_all_remove_define_abs.patch |
417 |
050_all_latex2man_predictable_tmp.patch |
418 |
060_all_luatex_zlib.patch |