summaryrefslogtreecommitdiff
path: root/package/DirectFB/patches/patch-tools_mkdfiff_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/DirectFB/patches/patch-tools_mkdfiff_c')
-rw-r--r--package/DirectFB/patches/patch-tools_mkdfiff_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/DirectFB/patches/patch-tools_mkdfiff_c b/package/DirectFB/patches/patch-tools_mkdfiff_c
new file mode 100644
index 000000000..f321f8a84
--- /dev/null
+++ b/package/DirectFB/patches/patch-tools_mkdfiff_c
@@ -0,0 +1,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;