diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-04-29 20:03:53 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-04-29 20:03:53 +0200 |
commit | ed718bd19790a9901e0107026dfac3294ba64a8c (patch) | |
tree | bb95cb0a1a826674002f703c8f6af59a3544e898 /extra/fltk/libpng14.patch | |
parent | 0bfb0714305c87926d9be0cf216c42a0a9cf0be5 (diff) | |
download | nutyx-pakxe-ed718bd19790a9901e0107026dfac3294ba64a8c.tar.gz nutyx-pakxe-ed718bd19790a9901e0107026dfac3294ba64a8c.tar.bz2 nutyx-pakxe-ed718bd19790a9901e0107026dfac3294ba64a8c.tar.xz nutyx-pakxe-ed718bd19790a9901e0107026dfac3294ba64a8c.zip |
maj fltk#r7513-1
Diffstat (limited to 'extra/fltk/libpng14.patch')
-rw-r--r-- | extra/fltk/libpng14.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/fltk/libpng14.patch b/extra/fltk/libpng14.patch new file mode 100644 index 000000000..f6c49228e --- /dev/null +++ b/extra/fltk/libpng14.patch @@ -0,0 +1,12 @@ +diff -upr fltk-2.0.x-r6829.orig/images/fl_png.cxx fltk-2.0.x-r6829/images/fl_png.cxx +--- fltk-2.0.x-r6829.orig/images/fl_png.cxx 2010-01-23 04:42:12.000000000 +0200 ++++ fltk-2.0.x-r6829/images/fl_png.cxx 2010-01-23 04:58:31.000000000 +0200 +@@ -62,7 +62,7 @@ bool pngImage::test(const uchar* datas, + #if !HAVE_LIBPNG + return 0; + #else +- return png_check_sig((png_byte*)datas, (int)size)!=0; ++ return png_sig_cmp((png_byte*)datas, 0, (int)size)==0; + #endif + } + |