]> git.pld-linux.org Git - packages/fltk2.git/commitdiff
- for libpng >= 1.4
authorduddits <duddits@pld-linux.org>
Fri, 19 Feb 2010 22:08:41 +0000 (22:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fltk2-libpng.patch -> 1.1

fltk2-libpng.patch [new file with mode: 0644]

diff --git a/fltk2-libpng.patch b/fltk2-libpng.patch
new file mode 100644 (file)
index 0000000..6de5ae8
--- /dev/null
@@ -0,0 +1,12 @@
+diff -burNp fltk-2.0.x-r6970/images/fl_png.cxx fltk-2.0.x-r6970-dud/images/fl_png.cxx
+--- fltk-2.0.x-r6970/images/fl_png.cxx 2007-04-16 16:48:06.000000000 +0200
++++ fltk-2.0.x-r6970-dud/images/fl_png.cxx     2010-02-19 22:42:37.719369135 +0100
+@@ -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
+ }
This page took 0.131648 seconds and 4 git commands to generate.