Magellan Linux

Contents of /trunk/libwmf/patches/libwmf-0.2.8.4-libpng-1.5.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1411 - (show annotations) (download)
Wed Jul 13 15:50:22 2011 UTC (12 years, 10 months ago) by niro
File size: 478 byte(s)
-added libwmf patches
1 diff -urN libwmf-0.2.8.4.old/src/ipa/ipa/bmp.h libwmf-0.2.8.4/src/ipa/ipa/bmp.h
2 --- libwmf-0.2.8.4.old/src/ipa/ipa/bmp.h 2011-05-23 19:14:23.000000000 +0200
3 +++ libwmf-0.2.8.4/src/ipa/ipa/bmp.h 2011-05-23 19:15:11.000000000 +0200
4 @@ -66,7 +66,7 @@
5 return;
6 }
7
8 - if (setjmp (png_ptr->jmpbuf))
9 + if (setjmp(png_jmpbuf(png_ptr)))
10 { WMF_DEBUG (API,"Failed to write bitmap as PNG! (setjmp failed)");
11 png_destroy_write_struct (&png_ptr,&info_ptr);
12 wmf_free (API,buffer);