diff options
author | wiz <wiz> | 2013-10-09 17:39:33 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-10-09 17:39:33 +0000 |
commit | a72638f21182519c75d7f5efac1d3fc93363e3ae (patch) | |
tree | ab6f72b0c4a3bd10d3d9a251e6a4d1db8b8012c5 | |
parent | ddb434da800953eb47384d08025aef16cddb0529 (diff) | |
download | pkgsrc-a72638f21182519c75d7f5efac1d3fc93363e3ae.tar.gz |
Add patch needed for mng-2.0.2.
-rw-r--r-- | graphics/gimp/patches/patch-plug-ins_common_file-mng.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/gimp/patches/patch-plug-ins_common_file-mng.c b/graphics/gimp/patches/patch-plug-ins_common_file-mng.c new file mode 100644 index 00000000000..1f1d905ec9c --- /dev/null +++ b/graphics/gimp/patches/patch-plug-ins_common_file-mng.c @@ -0,0 +1,26 @@ +$NetBSD: patch-plug-ins_common_file-mng.c,v 1.1 2013/10/09 17:39:33 wiz Exp $ + +Fix build with mng-2.0.2: +In file included from .../include/libmng.h:386:0, + from file-mng.c:87: +.../include/libmng_types.h:205:13: error: redefinition of typedef 'boolean' +.../include/jmorecfg.h:262:13: note: previous declaration of 'boolean' was here + +--- plug-ins/common/file-mng.c.orig 2012-03-12 19:18:10.000000000 +0000 ++++ plug-ins/common/file-mng.c +@@ -56,7 +56,6 @@ + /* libpng and jpeglib are currently used in this plug-in. */ + + #include <png.h> +-#include <jpeglib.h> + + + /* Grrr. The grrr is because the following have to be defined +@@ -86,6 +85,7 @@ + + #include <libmng.h> + ++#include <jpeglib.h> + #include "libgimp/gimp.h" + #include "libgimp/gimpui.h" + |