~ubuntu-branches/ubuntu/jaunty/texlive-bin/jaunty-updates

« back to all changes in this revision

Viewing changes to debian/patches/21_pdftex1.30.5.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2006-05-11 00:12:10 UTC
  • Revision ID: james.westby@ubuntu.com-20060511001210-2p3y1ncrjg8a0ge9
Tags: 2005-2
* first upload to unstable, sponsored by 
  Frank Küster <frank@debian.org>
* texdoc support
  - let tetex texdoc find documentation of texlive (Closes: #364776)
  - include tetex texdoc patches (following of symlinks, security
    fixes) (Closes: #356390)
* texlive-lang-polish conflicts with octave-forge as both provide
  /usr/bin/mex, this is preliminary, a better solution must be
  sought (Closes: #364059)
* change shell for the reportbug script to bash (Closes: #356391)
* fix installation of thumbpdf and pdfcrop (Closes: #352092)
* improve various descriptions (Closes: #354964)
* call the update-* programs in all postinst scripts, so that the
  config files do not contain left-overs (Closes: #355266)
* fix creation of formats which in turn depend on the latex format
  (Closes: #351707)
* remap the ibycus4.map TeX/MF input file from the fonts/map location
  to the fonts/source location (Closes: #354652)
* depend on the updated lmodern package, thus making the fonts
  available for X (Closes: #351727)
* lots of internal changes, important ones being:
  - texlive packages now do not include files which have been
    packaged for Debian already (eg cm-super, lmodern, musixtex)
  - most packages can be used together with teTeX
  - fix several upstream bugs
  - generate license information for each file from the
    TeX Catalogue (ongoing work)
  for detailed changes see CHANGES.packaging in texlive-common

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 21_pdftex1.30.5.dpatch 
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: update pdftex to 1.30.5, bugfixes
 
6
 
 
7
@DPATCH@
 
8
diff -dur ./build/TeX/texk/web2c/pdfetexdir/NEWS ./build/TeX/texk/web2c/pdfetexdir/NEWS
 
9
--- ./build/TeX/texk/web2c/pdfetexdir/NEWS      Mon Oct 17 13:59:57 2005
 
10
+++ ./build/TeX/texk/web2c/pdfetexdir/NEWS      Sun Dec  4 14:30:03 2005
 
11
@@ -1,4 +1,11 @@
 
12
 -------------------------------------------------
 
13
+pdfTeX 3.141592-1.30.5 was released on 2005-12-04
 
14
+-------------------------------------------------
 
15
+- bugfix: \pdfximage prints the file name twice (bug 441)
 
16
+- bugfix: buffer overflow with \pdfmatch (bug 444)
 
17
+- bugfix: updated xpdf to 3.01pl1
 
18
+
 
19
+-------------------------------------------------
 
20
 pdfTeX 3.141592-1.30.4 was released on 2005-10-17
 
21
 -------------------------------------------------
 
22
 - bugfix: whitespaces in filenames didn't work on Unix anymore (bug 377)
 
23
diff -dur ./build/TeX/texk/web2c/pdfetexdir/README ./build/TeX/texk/web2c/pdfetexdir/README
 
24
--- ./build/TeX/texk/web2c/pdfetexdir/README    Mon Oct 17 13:54:35 2005
 
25
+++ ./build/TeX/texk/web2c/pdfetexdir/README    Fri Dec  2 18:54:58 2005
 
26
@@ -1,10 +1,10 @@
 
27
 pdfTeX
 
28
 ======
 
29
 
 
30
-README for version 3.14159-1.30.4 of $Date: 2005/10/17 $
 
31
+README for version 3.14159-1.30.5 of $Date: 2005/08/23 $
 
32
 ========================================================
 
33
 
 
34
-This directory contains the version 1.30.4 of pdfTeX, an extended version of
 
35
+This directory contains the version 1.30.5 of pdfTeX, an extended version of
 
36
 TeX that can create PDF directly from TeX source files and enhance the
 
37
 result of TeX typesetting with the help of PDF. When PDF output is not
 
38
 selected, pdfTeX produces normal DVI output, otherwise it produces PDF
 
39
diff -dur ./build/TeX/texk/web2c/pdftexdir/NEWS ./build/TeX/texk/web2c/pdftexdir/NEWS
 
40
--- ./build/TeX/texk/web2c/pdftexdir/NEWS       Mon Oct 17 13:59:57 2005
 
41
+++ ./build/TeX/texk/web2c/pdftexdir/NEWS       Sun Dec  4 14:30:03 2005
 
42
@@ -1,4 +1,11 @@
 
43
 -------------------------------------------------
 
44
+pdfTeX 3.141592-1.30.5 was released on 2005-12-04
 
45
+-------------------------------------------------
 
46
+- bugfix: \pdfximage prints the file name twice (bug 441)
 
47
+- bugfix: buffer overflow with \pdfmatch (bug 444)
 
48
+- bugfix: updated xpdf to 3.01pl1
 
49
+
 
50
+-------------------------------------------------
 
51
 pdfTeX 3.141592-1.30.4 was released on 2005-10-17
 
52
 -------------------------------------------------
 
53
 - bugfix: whitespaces in filenames didn't work on Unix anymore (bug 377)
 
54
diff -dur ./build/TeX/texk/web2c/pdftexdir/README ./build/TeX/texk/web2c/pdftexdir/README
 
55
--- ./build/TeX/texk/web2c/pdftexdir/README     Mon Oct 17 13:54:35 2005
 
56
+++ ./build/TeX/texk/web2c/pdftexdir/README     Fri Dec  2 18:54:58 2005
 
57
@@ -1,10 +1,10 @@
 
58
 pdfTeX
 
59
 ======
 
60
 
 
61
-README for version 3.14159-1.30.4 of $Date: 2005/10/17 $
 
62
+README for version 3.14159-1.30.5 of $Date: 2005/08/23 $
 
63
 ========================================================
 
64
 
 
65
-This directory contains the version 1.30.4 of pdfTeX, an extended version of
 
66
+This directory contains the version 1.30.5 of pdfTeX, an extended version of
 
67
 TeX that can create PDF directly from TeX source files and enhance the
 
68
 result of TeX typesetting with the help of PDF. When PDF output is not
 
69
 selected, pdfTeX produces normal DVI output, otherwise it produces PDF
 
70
diff -dur ./build/TeX/texk/web2c/pdftexdir/pdftex.ch ./build/TeX/texk/web2c/pdftexdir/pdftex.ch
 
71
--- ./build/TeX/texk/web2c/pdftexdir/pdftex.ch  Mon Oct 17 00:17:53 2005
 
72
+++ ./build/TeX/texk/web2c/pdftexdir/pdftex.ch  Sun Dec  4 13:34:34 2005
 
73
@@ -68,8 +68,8 @@
 
74
 @d banner=='This is TeX, Version 3.141592' {printed when \TeX\ starts}
 
75
 @y
 
76
 @d pdftex_version==130 { \.{\\pdftexversion} }
 
77
-@d pdftex_revision=="4" { \.{\\pdftexrevision} }
 
78
-@d pdftex_version_string=='-1.30.4' {current \pdfTeX\ version}
 
79
+@d pdftex_revision=="5" { \.{\\pdftexrevision} }
 
80
+@d pdftex_version_string=='-1.30.5' {current \pdfTeX\ version}
 
81
 @#
 
82
 @d pdfTeX_banner=='This is pdfTeX, Version 3.141592',pdftex_version_string
 
83
    {printed when \pdfTeX\ starts}
 
84
Only in ./build/TeX/texk/web2c/pdftexdir: pdftosrc.1
 
85
diff -dur ./build/TeX/texk/web2c/pdftexdir/utils.c ./build/TeX/texk/web2c/pdftexdir/utils.c
 
86
--- ./build/TeX/texk/web2c/pdftexdir/utils.c    Tue Oct 11 23:32:34 2005
 
87
+++ ./build/TeX/texk/web2c/pdftexdir/utils.c    Sun Dec  4 14:12:55 2005
 
88
@@ -235,10 +235,25 @@
 
89
 
 
90
 char *makecstring(integer s)
 
91
 {
 
92
-    static char cstrbuf[MAX_CSTRING_LEN];
 
93
-    char *p = cstrbuf;
 
94
-    int i, l = strstart[s + 1] - strstart[s];
 
95
+    static char *cstrbuf = NULL;
 
96
+    char *p;
 
97
+    static int allocsize;
 
98
+    int allocgrow, i, l = strstart[s + 1] - strstart[s];
 
99
     check_buf(l + 1, MAX_CSTRING_LEN);
 
100
+    if (cstrbuf == NULL) {
 
101
+        allocsize = l + 1;
 
102
+        cstrbuf = xmallocarray(char, allocsize);
 
103
+    } else if (l + 1 > allocsize) {
 
104
+        allocgrow = allocsize * 0.2;
 
105
+        if (l + 1 - allocgrow > allocsize)
 
106
+            allocsize = l + 1;
 
107
+        else if (allocsize < MAX_CSTRING_LEN - allocgrow)
 
108
+            allocsize += allocgrow;
 
109
+        else
 
110
+            allocsize = MAX_CSTRING_LEN;
 
111
+        cstrbuf = xreallocarray(cstrbuf, char, allocsize);
 
112
+    }
 
113
+    p = cstrbuf;
 
114
     for (i = 0; i < l; i++)
 
115
         *p++ = strpool[i + strstart[s]];
 
116
     *p = 0;
 
117
@@ -1112,6 +1127,8 @@
 
118
   input/ouput same as makecstring:
 
119
     input: string number
 
120
     output: C string with quotes removed.
 
121
+    That means, file names that are legal on some operation systems
 
122
+    cannot any more be used since pdfTeX version 1.30.4.
 
123
 */
 
124
 char *makecfilename(strnumber s) {
 
125
     char *name = makecstring(s);
 
126
@@ -1124,6 +1141,5 @@
 
127
         p++;
 
128
     }
 
129
     *q = '\0';
 
130
-    fprintf(stderr, " %s\n", name);
 
131
     return name;
 
132
 }