summaryrefslogtreecommitdiff
path: root/source/xap/xine-ui/xine-ui.png14.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/xine-ui/xine-ui.png14.diff')
-rw-r--r--source/xap/xine-ui/xine-ui.png14.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/xap/xine-ui/xine-ui.png14.diff b/source/xap/xine-ui/xine-ui.png14.diff
new file mode 100644
index 00000000..35a06513
--- /dev/null
+++ b/source/xap/xine-ui/xine-ui.png14.diff
@@ -0,0 +1,11 @@
+--- ./src/xitk/Imlib-light/load.c.orig 2003-07-14 17:44:10.000000000 -0500
++++ ./src/xitk/Imlib-light/load.c 2010-02-19 13:41:27.000000000 -0600
+@@ -193,7 +193,7 @@
+ return 0;
+ fread(buf, 1, 8, f);
+ rewind(f);
+- return (int)png_check_sig(buf, 8);
++ return (int)(png_sig_cmp(buf, 0, 8) == 0);
+ }
+
+ ImlibImage * Imlib_load_image(ImlibData * id, char *file) {