]> git.pld-linux.org Git - packages/fltk2.git/blob - fltk2-libpng.patch
- bconds should be the very first thing, moved defines and includes after them
[packages/fltk2.git] / fltk2-libpng.patch
1 diff -burNp fltk-2.0.x-r6970/images/fl_png.cxx fltk-2.0.x-r6970-dud/images/fl_png.cxx
2 --- fltk-2.0.x-r6970/images/fl_png.cxx  2007-04-16 16:48:06.000000000 +0200
3 +++ fltk-2.0.x-r6970-dud/images/fl_png.cxx      2010-02-19 22:42:37.719369135 +0100
4 @@ -62,7 +62,7 @@ bool pngImage::test(const uchar* datas,
5  #if !HAVE_LIBPNG
6    return 0;
7  #else
8 -  return png_check_sig((png_byte*)datas, (int)size)!=0;
9 +  return png_sig_cmp((png_byte*)datas, 0, (int)size)!=0;
10  #endif
11  }
12  
This page took 0.057533 seconds and 3 git commands to generate.