Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package texlive-bin Dear release managers, I have another unblock request, this time for texlive-bin 2012.20120628-3 which fixes exactely one small thing: The cweave program has a fixed length array for identifier names. Up to -2 this was set to 1000 as maximal length. But DE Knuth's original sources do have this maximal length set to 10000 since quite some time. The consequence is, that even some of the programs from DEK's page cannot be c-weaved anymore. The discussion came up on the TeX Live mailing list, here is a link to the start of the thread: http://tug.org/pipermail/tex-live/2012-September/032325.html The changes in the package only concern the cweave program and consists of the following simple patch: --- texlive-bin-2012.20120628.orig/texk/web2c/cwebdir/cweave.w +++ texlive-bin-2012.20120628/texk/web2c/cwebdir/cweave.w @@ -124,7 +124,7 @@ @d max_sections 10239 /* greater than the total number of sections */ @d hash_size 8501 /* should be prime */ @d buf_size 1000 /* maximum length of input line, plus one */ -@d longest_name 1000 /* section names and strings shouldn't be longer than this */ +@d longest_name 10000 /* section names and strings shouldn't be longer than this */ @d long_buf_size (buf_size+longest_name) @d line_length 80 /* lines of \TEX/ output have at most this many characters; should be less than 256 */ which increases the longest allowed identifier to 10000 chars. This patch has also been included in the upstream TeX Live sources. I attach the full debdiff, that includes the other changes to debian/changelog, debian/quilt/series, and the patch itself. Thanks for your consideration Norbert unblock texlive-bin/2012.20120628-3 -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.6.0-rc4+ (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
diff -Nru texlive-bin-2012.20120628/debian/changelog texlive-bin-2012.20120628/debian/changelog --- texlive-bin-2012.20120628/debian/changelog 2012-07-26 11:59:26.000000000 +0900 +++ texlive-bin-2012.20120628/debian/changelog 2012-09-04 10:34:03.000000000 +0900 @@ -1,3 +1,10 @@ +texlive-bin (2012.20120628-3) unstable; urgency=low + + * fix too short name space for cweave (original file has this fix + since 2008) (new patch cweave-fix-too-short-names) + + -- Norbert Preining <prein...@debian.org> Tue, 04 Sep 2012 10:32:59 +0900 + texlive-bin (2012.20120628-2) unstable; urgency=low * cherrypick a bugfix from upstream for ptex kanji code scanning diff -Nru texlive-bin-2012.20120628/debian/quilt/cweave-fix-too-short-names texlive-bin-2012.20120628/debian/quilt/cweave-fix-too-short-names --- texlive-bin-2012.20120628/debian/quilt/cweave-fix-too-short-names 1970-01-01 09:00:00.000000000 +0900 +++ texlive-bin-2012.20120628/debian/quilt/cweave-fix-too-short-names 2012-09-04 10:24:55.000000000 +0900 @@ -0,0 +1,15 @@ +--- + texk/web2c/cwebdir/cweave.w | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- texlive-bin-2012.20120628.orig/texk/web2c/cwebdir/cweave.w ++++ texlive-bin-2012.20120628/texk/web2c/cwebdir/cweave.w +@@ -124,7 +124,7 @@ + @d max_sections 10239 /* greater than the total number of sections */ + @d hash_size 8501 /* should be prime */ + @d buf_size 1000 /* maximum length of input line, plus one */ +-@d longest_name 1000 /* section names and strings shouldn't be longer than this */ ++@d longest_name 10000 /* section names and strings shouldn't be longer than this */ + @d long_buf_size (buf_size+longest_name) + @d line_length 80 /* lines of \TEX/ output have at most this many characters; + should be less than 256 */ diff -Nru texlive-bin-2012.20120628/debian/quilt/series texlive-bin-2012.20120628/debian/quilt/series --- texlive-bin-2012.20120628/debian/quilt/series 2012-07-18 02:21:57.000000000 +0900 +++ texlive-bin-2012.20120628/debian/quilt/series 2012-09-04 10:25:49.000000000 +0900 @@ -27,3 +27,4 @@ #upstream included# upstream-fix-ini-synctex-segfault #upstream included# fix-pipe-in-out-regression upstream-fix-ptex-scanning +cweave-fix-too-short-names