Magellan Linux

Contents of /trunk/libwmf/patches/libwmf-0.2.8.4-pngfix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1411 - (show annotations) (download)
Wed Jul 13 15:50:22 2011 UTC (12 years, 9 months ago) by niro
File size: 582 byte(s)
-added libwmf patches
1 diff -NrU5 libwmf-0.2.8.4.orig/src/ipa/ipa.c libwmf-0.2.8.4/src/ipa/ipa.c
2 --- libwmf-0.2.8.4.orig/src/ipa/ipa.c 2009-05-10 23:41:17.000000000 +0200
3 +++ libwmf-0.2.8.4/src/ipa/ipa.c 2009-05-11 00:07:43.000000000 +0200
4 @@ -33,10 +33,16 @@
5
6 /* Define WMF_API if this is module so that ipa headers are included via "wmfdefs.h" first
7 */
8 #define WMF_IPA 1
9
10 +#ifndef HAVE_GD
11 +#ifdef HAVE_LIBPNG
12 +#include <png.h>
13 +#endif /* HAVE_LIBPNG */
14 +#endif /* HAVE_GD */
15 +
16 #include "wmfdefs.h"
17
18 #include "ipa/ipa.h"
19 #include "ipa/ipa/bmp.h" /* Provides default bitmap functionality */
20