aboutsummaryrefslogtreecommitdiff
path: root/textproc/htmldoc/files/patch-image.cxx
blob: 7aba1dfbf53b0d2020f7eeb180ac20ee5de4f3c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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!");