diff options
Diffstat (limited to 'graphics/evas-loader-svg')
-rw-r--r-- | graphics/evas-loader-svg/Makefile | 2 | ||||
-rw-r--r-- | graphics/evas-loader-svg/files/patch-evas_image_load_png.c | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/graphics/evas-loader-svg/Makefile b/graphics/evas-loader-svg/Makefile index 54626349f102..9e68f39712b1 100644 --- a/graphics/evas-loader-svg/Makefile +++ b/graphics/evas-loader-svg/Makefile @@ -7,7 +7,7 @@ PORTNAME= loader-svg 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-svg/files/patch-evas_image_load_png.c b/graphics/evas-loader-svg/files/patch-evas_image_load_png.c new file mode 100644 index 000000000000..b3de3f645163 --- /dev/null +++ b/graphics/evas-loader-svg/files/patch-evas_image_load_png.c @@ -0,0 +1,20 @@ +--- 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-04-01 07:26:03.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; +@@ -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; |