]> git.pld-linux.org Git - packages/imlib.git/blame - imlib-libpng.patch
- rebuild without libjpeg.la
[packages/imlib.git] / imlib-libpng.patch
CommitLineData
056060c6
AM
1diff -Naur imlib-1.9.15-orig/Imlib/load.c imlib-1.9.15/Imlib/load.c
2--- imlib-1.9.15-orig/Imlib/load.c 2010-01-18 20:58:27.000000000 -0500
3+++ imlib-1.9.15/Imlib/load.c 2010-01-18 21:02:04.000000000 -0500
4@@ -1619,7 +1619,7 @@
5 return 0;
6 fread(buf, 1, 8, f);
7 rewind(f);
8- return (int)png_check_sig(buf, 8);
9+ return (int)png_sig_cmp(buf, 0, 8)==0;
10 #else
11 return 0;
12 #endif
This page took 0.172334 seconds and 4 git commands to generate.