summaryrefslogtreecommitdiff
path: root/graphics/gimp
diff options
context:
space:
mode:
authorwiz <wiz>2013-10-09 17:39:33 +0000
committerwiz <wiz>2013-10-09 17:39:33 +0000
commitcac4f2e9a85d4144131f8f98921baa6d97b507f0 (patch)
treeab6f72b0c4a3bd10d3d9a251e6a4d1db8b8012c5 /graphics/gimp
parent80979ec0dfd3d44cc1d97050b51903b7ee29f7a3 (diff)
downloadpkgsrc-cac4f2e9a85d4144131f8f98921baa6d97b507f0.tar.gz
Add patch needed for mng-2.0.2.
Diffstat (limited to 'graphics/gimp')
-rw-r--r--graphics/gimp/patches/patch-plug-ins_common_file-mng.c26
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"
+