diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-28 18:35:45 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-03-28 18:35:45 +0000 |
commit | 8e575683feb41c3c572cdd8902224d31d3691abe (patch) | |
tree | 534ac68550b02394a4e8cf9d0fd7e43d7ce8c68e /graphics/ming | |
parent | 897f2a45f5bf48532c7d1e3fa219d208424d1201 (diff) | |
download | ports-8e575683feb41c3c572cdd8902224d31d3691abe.tar.gz ports-8e575683feb41c3c572cdd8902224d31d3691abe.zip |
Notes
Diffstat (limited to 'graphics/ming')
-rw-r--r-- | graphics/ming/files/patch-src_blocks_pngdbl.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/ming/files/patch-src_blocks_pngdbl.c b/graphics/ming/files/patch-src_blocks_pngdbl.c new file mode 100644 index 000000000000..6c8c125614d0 --- /dev/null +++ b/graphics/ming/files/patch-src_blocks_pngdbl.c @@ -0,0 +1,20 @@ +--- src/blocks/pngdbl.c.orig 2006-02-08 20:09:27.000000000 +0100 ++++ src/blocks/pngdbl.c 2010-03-28 20:34:13.000000000 +0200 +@@ -34,7 +34,7 @@ + + if(fread(header, 1, 8, fp) != 8) + return NULL; +- if(!png_check_sig(header, 8)) ++ if(png_sig_cmp(header, 0, 8)) + return NULL; + result = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); + if(!result) +@@ -54,7 +54,7 @@ + + if(SWFInput_read(input, header, 8) != 8) + return NULL; +- if(!png_check_sig(header, 8)) ++ if(png_sig_cmp(header, 0, 8)) + return NULL; + result = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); + if(!result) |