aboutsummaryrefslogtreecommitdiff
path: root/graphics/evas-loader-png/files/patch-evas_image_load_png.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/evas-loader-png/files/patch-evas_image_load_png.c')
-rw-r--r--graphics/evas-loader-png/files/patch-evas_image_load_png.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/evas-loader-png/files/patch-evas_image_load_png.c b/graphics/evas-loader-png/files/patch-evas_image_load_png.c
new file mode 100644
index 000000000000..7557aa27ea28
--- /dev/null
+++ b/graphics/evas-loader-png/files/patch-evas_image_load_png.c
@@ -0,0 +1,11 @@
+--- src/modules/loaders/png/evas_image_load_png.c.orig 2007-10-28 11:35:13.000000000 +0100
++++ src/modules/loaders/png/evas_image_load_png.c 2010-03-30 14:16:48.000000000 +0200
+@@ -44,7 +44,7 @@
+ fclose(f);
+ return 0;
+ }
+- if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
++ if (png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK))
+ {
+ fclose(f);
+ return 0;