summaryrefslogtreecommitdiff
path: root/package/DirectFB/patches/patch-tools_mkdgifft_cpp
diff options
context:
space:
mode:
Diffstat (limited to 'package/DirectFB/patches/patch-tools_mkdgifft_cpp')
-rw-r--r--package/DirectFB/patches/patch-tools_mkdgifft_cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/DirectFB/patches/patch-tools_mkdgifft_cpp b/package/DirectFB/patches/patch-tools_mkdgifft_cpp
new file mode 100644
index 000000000..33e8285e9
--- /dev/null
+++ b/package/DirectFB/patches/patch-tools_mkdgifft_cpp
@@ -0,0 +1,11 @@
+--- DirectFB-1.4.11.orig/tools/mkdgifft.cpp 2010-10-31 09:52:08.000000000 +0100
++++ DirectFB-1.4.11/tools/mkdgifft.cpp 2011-03-29 10:57:18.581810094 +0200
+@@ -595,7 +595,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;