aboutsummaryrefslogtreecommitdiff
path: root/graphics/evas-loader-png
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-04-01 05:45:38 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-04-01 05:45:38 +0000
commit42e9e4dbbb9c32b1c9156259b0cb5a39bc1adb8e (patch)
tree98238d5a1733766d4c682b7e81efb9cece5b5d5e /graphics/evas-loader-png
parent7c02f4ca705653f75891625cddab676ee55a5410 (diff)
Notes
Diffstat (limited to 'graphics/evas-loader-png')
-rw-r--r--graphics/evas-loader-png/Makefile2
-rw-r--r--graphics/evas-loader-png/files/patch-evas_image_load_png.c11
2 files changed, 11 insertions, 2 deletions
diff --git a/graphics/evas-loader-png/Makefile b/graphics/evas-loader-png/Makefile
index 6fcf2f1ef2b2..2ebbc93f2645 100644
--- a/graphics/evas-loader-png/Makefile
+++ b/graphics/evas-loader-png/Makefile
@@ -7,7 +7,7 @@
PORTNAME= loader-png
PORTVERSION= 0.9.9.042
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.springdaemons.com/pub/snapshots/e17/ \
http://download.enlightenment.org/snapshots/2008-01-25/
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
index 7557aa27ea28..b3de3f645163 100644
--- a/graphics/evas-loader-png/files/patch-evas_image_load_png.c
+++ b/graphics/evas-loader-png/files/patch-evas_image_load_png.c
@@ -1,5 +1,5 @@
--- 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
++++ src/modules/loaders/png/evas_image_load_png.c 2010-04-01 07:26:03.000000000 +0200
@@ -44,7 +44,7 @@
fclose(f);
return 0;
@@ -9,3 +9,12 @@
{
fclose(f);
return 0;
+@@ -121,7 +121,7 @@
+
+ /* if we havent read the header before, set the header data */
+ fread(buf, 1, PNG_BYTES_TO_CHECK, f);
+- if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
++ if (png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK))
+ {
+ fclose(f);
+ return 0;