Magellan Linux

Annotation of /trunk/openmotif/patches/openmotif-2.3.3-libpng14.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1735 - (hide annotations) (download)
Wed Apr 11 19:28:40 2012 UTC (12 years, 1 month ago) by niro
File size: 339 byte(s)
-patches for 2.3.3
1 niro 1735 http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg207680.html
2    
3     --- lib/Xm/Png.c
4     +++ lib/Xm/Png.c
5     @@ -144,7 +144,7 @@
6     png_bytepp row_pointers = NULL;
7    
8     fread(sig, 1, 8, infile);
9     - if (!png_check_sig(sig, 8))
10     + if (png_sig_cmp(sig, 0, 8))
11     return 1; /* bad signature */
12    
13     png_ptr =