summaryrefslogtreecommitdiff
path: root/textproc/htmldoc/files/patch-image.cxx
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 /textproc/htmldoc/files/patch-image.cxx
parent- Allow for larger database UIDs (diff)
- update png to 1.5.10
Notes
Notes: svn path=/head/; revision=297915
Diffstat (limited to 'textproc/htmldoc/files/patch-image.cxx')
-rw-r--r--textproc/htmldoc/files/patch-image.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/htmldoc/files/patch-image.cxx b/textproc/htmldoc/files/patch-image.cxx
new file mode 100644
index 000000000000..7aba1dfbf53b
--- /dev/null
+++ b/textproc/htmldoc/files/patch-image.cxx
@@ -0,0 +1,19 @@
+--- htmldoc/image.cxx.orig 2006-05-31 21:00:02.000000000 +0200
++++ htmldoc/image.cxx 2012-05-06 15:44:04.000000000 +0200
+@@ -56,6 +56,7 @@
+ }
+
+ #include <png.h> /* Portable Network Graphics (PNG) definitions */
++#include <pngpriv.h>
+
+
+ /*
+@@ -1499,7 +1500,7 @@
+
+ rows = NULL;
+
+- if (setjmp(pp->jmpbuf))
++ if (setjmp(png_jmpbuf(pp)))
+ {
+ progress_error(HD_ERROR_BAD_FORMAT, "PNG file contains errors!");
+