aboutsummaryrefslogtreecommitdiff
path: root/graphics/ming
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-28 18:35:45 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-28 18:35:45 +0000
commit8e575683feb41c3c572cdd8902224d31d3691abe (patch)
tree534ac68550b02394a4e8cf9d0fd7e43d7ce8c68e /graphics/ming
parent897f2a45f5bf48532c7d1e3fa219d208424d1201 (diff)
downloadports-8e575683feb41c3c572cdd8902224d31d3691abe.tar.gz
ports-8e575683feb41c3c572cdd8902224d31d3691abe.zip
Notes
Diffstat (limited to 'graphics/ming')
-rw-r--r--graphics/ming/files/patch-src_blocks_pngdbl.c20
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)