]> git.pld-linux.org Git - packages/texlive.git/blob - texlive-libpng.patch
2be5701dc871a50b15af96319efbfb9b44183a52
[packages/texlive.git] / texlive-libpng.patch
1 --- texlive-20091011-source/./texk/xdvipdfmx/src/xbb.c~ 2008-05-25 17:00:35.000000000 +0200
2 +++ texlive-20091011-source/./texk/xdvipdfmx/src/xbb.c  2010-01-28 22:01:10.653876887 +0100
3 @@ -246,7 +246,7 @@
4    unsigned char sigbytes[4];
5    rewind (png_file);
6    if (fread(sigbytes, 1, sizeof(sigbytes), png_file) != sizeof(sigbytes) ||
7 -      (!png_check_sig (sigbytes, sizeof(sigbytes)))) return 0;
8 +      (png_sig_cmp (sigbytes, 0, sizeof(sigbytes)))) return 0;
9    else return 1;
10  }             
11  
12 --- texlive-20091011-source/texk/xdvipdfmx/src/pngimage.c~      2007-11-22 17:48:06.000000000 +0100
13 +++ texlive-20091011-source/texk/xdvipdfmx/src/pngimage.c       2010-01-28 22:02:06.753257437 +0100
14 @@ -146,7 +146,7 @@
15    rewind (png_file);
16    if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
17        sizeof(sigbytes) ||
18 -      (!png_check_sig (sigbytes, sizeof(sigbytes))))
19 +      (png_sig_cmp (sigbytes, 0, sizeof(sigbytes))))
20      return 0;
21    else
22      return 1;
23 --- texlive-20091011-source/./texk/dvipdfmx/src/pngimage.c~     2009-05-26 01:12:24.000000000 +0200
24 +++ texlive-20091011-source/./texk/dvipdfmx/src/pngimage.c      2010-01-28 22:02:43.449910278 +0100
25 @@ -148,7 +148,7 @@
26    rewind (png_file);
27    if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
28        sizeof(sigbytes) ||
29 -      (!png_check_sig (sigbytes, sizeof(sigbytes))))
30 +      (png_sig_cmp (sigbytes, 0, sizeof(sigbytes))))
31      return 0;
32    else
33      return 1;
34 --- texlive-20091011-source/./texk/web2c/xetexdir/pngimage.c~   2006-07-26 18:19:45.000000000 +0200
35 +++ texlive-20091011-source/./texk/web2c/xetexdir/pngimage.c    2010-01-28 22:03:20.986780607 +0100
36 @@ -101,7 +101,7 @@
37    rewind (png_file);
38    if (fread (sigbytes, 1, sizeof(sigbytes), png_file) !=
39        sizeof(sigbytes) ||
40 -      (!png_check_sig (sigbytes, sizeof(sigbytes))))
41 +      (png_sig_cmp (sigbytes, 0, sizeof(sigbytes))))
42      return 0;
43    else
44      return 1;
This page took 0.024158 seconds and 2 git commands to generate.