summaryrefslogtreecommitdiff
path: root/package/DirectFB/patches/patch-tools_mkdfiff_c
blob: f321f8a84f33dd52790794e4280c8ab8c4951e60 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- DirectFB-1.4.11.orig/tools/mkdfiff.c	2010-10-31 09:49:49.000000000 +0100
+++ DirectFB-1.4.11/tools/mkdfiff.c	2011-03-29 10:57:18.503068913 +0200
@@ -97,7 +97,7 @@ load_image (const char            *filen
      if (!png_ptr)
           goto cleanup;
 
-     if (setjmp (png_ptr->jmpbuf)) {
+     if (setjmp (png_jmpbuf (png_ptr))) {
           if (desc->preallocated[0].data) {
                free (desc->preallocated[0].data);
                desc->preallocated[0].data = NULL;