tetex/tetex.patch

changeset 764
b3f4be54aeb4
parent 505
0838649dd325
equal deleted inserted replaced
0:17f40b3d838d 1:aa724ea69393
1 Index: texk/gsftopk/gsftopk.c 1 Index: texk/gsftopk/gsftopk.c
2 diff -Nau texk/gsftopk/gsftopk.c.orig texk/gsftopk/gsftopk.c
3 --- texk/gsftopk/gsftopk.c.orig 2005-03-15 13:05:16.817449597 +0100 2 --- texk/gsftopk/gsftopk.c.orig 2005-03-15 13:05:16.817449597 +0100
4 +++ texk/gsftopk/gsftopk.c 2005-03-15 13:06:07.241499293 +0100 3 +++ texk/gsftopk/gsftopk.c 2005-03-15 13:06:07.241499293 +0100
5 @@ -417,7 +417,7 @@ 4 @@ -417,7 +417,7 @@
6 Boolean dosnames = False; 5 Boolean dosnames = False;
7 Boolean quiet = False; 6 Boolean quiet = False;
112 - (!png_check_sig (sigbytes, sizeof(sigbytes)))) { 111 - (!png_check_sig (sigbytes, sizeof(sigbytes)))) {
113 + (png_sig_cmp (sigbytes, 0, sizeof(sigbytes)) > 0)) { 112 + (png_sig_cmp (sigbytes, 0, sizeof(sigbytes)) > 0)) {
114 fprintf (stderr, "\nThumbnail not a png file! Skipping\n"); 113 fprintf (stderr, "\nThumbnail not a png file! Skipping\n");
115 return NULL; 114 return NULL;
116 } 115 }
116 Index: texk/dvipsk/afm2tfm.c
117 --- texk/dvipsk/afm2tfm.c.orig 2005-01-30 14:17:09.000000000 +0100
118 +++ texk/dvipsk/afm2tfm.c 2012-08-10 13:51:16.204770293 +0200
119 @@ -40,6 +40,9 @@
120 #endif
121 #endif /* KPATHSEA */
122
123 +/* Definitions to accommodate flawed or defective code. */
124 +#define getline local_getline
125 +
126 /* JLH: added these to make the code easier to read and remove some
127 ascii<->ebcdic dependencies */
128 #define ASCII_A 65
129 Index: texk/web2c/cpascal.h
130 --- texk/web2c/cpascal.h.orig 2004-08-28 22:49:59.000000000 +0200
131 +++ texk/web2c/cpascal.h 2012-08-10 13:50:28.634075696 +0200
132 @@ -241,6 +241,10 @@
133 #define getname vms_getname
134 #endif
135
136 +/* Definitions to accommodate flawed or defective code. */
137 +
138 +#define getline local_getline
139 +
140 /* Declarations for the routines we provide ourselves in lib/. */
141
142 extern string basenamechangesuffix P3H(const_string,const_string,const_string);

mercurial