summaryrefslogtreecommitdiff
path: root/graphics/swfmill/files/patch-readpng.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /graphics/swfmill/files/patch-readpng.c
parent- Allow for larger database UIDs (diff)
- update png to 1.5.10
Notes
Notes: svn path=/head/; revision=297915
Diffstat (limited to '')
-rw-r--r--graphics/swfmill/files/patch-readpng.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/graphics/swfmill/files/patch-readpng.c b/graphics/swfmill/files/patch-readpng.c
index ba18494b46ea..53c3d44c9172 100644
--- a/graphics/swfmill/files/patch-readpng.c
+++ b/graphics/swfmill/files/patch-readpng.c
@@ -1,6 +1,14 @@
---- src/swft/readpng.c.orig 2006-07-20 15:57:17.000000000 +0200
-+++ src/swft/readpng.c 2010-03-29 16:19:53.000000000 +0200
-@@ -69,7 +69,7 @@
+--- src/swft/readpng.c.orig 2009-11-30 01:18:53.000000000 +0100
++++ src/swft/readpng.c 2012-05-05 07:48:08.000000000 +0200
+@@ -51,6 +51,7 @@
+ #include <stdlib.h>
+
+ #include "png.h" /* libpng header; includes zlib.h */
++#include "zlib.h"
+ #include "readpng.h" /* typedefs, common macros, public prototypes */
+
+ /* future versions of libpng will provide this macro: */
+@@ -87,7 +88,7 @@
* have used slightly more general png_sig_cmp() function instead */
fread(sig, 1, 8, infile);