summaryrefslogtreecommitdiff
path: root/extra/zvbi/zvbi-0.2.33-libpng15.patch
blob: 2626773769c85969f5fa1e0396ba5a91a497bff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Index: src/exp-gfx.c
===================================================================
RCS file: /cvsroot/zapping/vbi/src/exp-gfx.c,v
retrieving revision 1.16
diff -u -B -r1.16 exp-gfx.c
--- src/exp-gfx.c	24 Feb 2008 14:17:47 -0000	1.16
+++ src/exp-gfx.c	15 Feb 2011 20:03:58 -0000
@@ -1672,11 +1672,11 @@
 	char title[80];
 	unsigned int i;
 
-	if (setjmp (png_ptr->jmpbuf))
+	if (setjmp (png_jmpbuf(png_ptr)))
 		return FALSE;
 
 	png_set_write_fn (png_ptr,
-			  (voidp) gfx,
+			  (png_voidp) gfx,
 			  write_data,
 			  flush_data);