summaryrefslogtreecommitdiff
path: root/graphics/xcftools/files/patch-src_xcf2png.c
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-09-17 20:33:22 +0000
committerJohn Marino <marino@FreeBSD.org>2014-09-17 20:33:22 +0000
commit673e42630c8e5f3a8f7782c4fe1f406887c75569 (patch)
tree22ca30d698be9a1a9087ff6792f85992065fdc93 /graphics/xcftools/files/patch-src_xcf2png.c
parentdevel/py-pyparsing15: create port of older pyparsing module for py-mwlib (diff)
Add new port graphics/xcftools
PR: 179116 Submitted by: Kalten (gmx.at) Xcftools is a set of fast command-line tools for extracting information from the Gimp's native file format XCF. The tools are designed to allow efficient use of layered XCF files as sources in a build system that use 'make' and similar tools to manage automatic processing of the graphics. These tools work independently of the Gimp engine and do not require the Gimp to even be installed.
Notes
Notes: svn path=/head/; revision=368415
Diffstat (limited to 'graphics/xcftools/files/patch-src_xcf2png.c')
-rw-r--r--graphics/xcftools/files/patch-src_xcf2png.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/xcftools/files/patch-src_xcf2png.c b/graphics/xcftools/files/patch-src_xcf2png.c
new file mode 100644
index 000000000000..c9426bb76080
--- /dev/null
+++ b/graphics/xcftools/files/patch-src_xcf2png.c
@@ -0,0 +1,16 @@
+--- src/xcf2png.c.orig 2013-02-12 19:30:10.000000000 +0100
++++ src/xcf2png.c 2014-09-11 01:38:20.000000000 +0200
+@@ -23,6 +23,13 @@
+ #include "palette.h"
+
+ #include <png.h>
++#ifndef png_voidp_NULL
++#define png_voidp_NULL (png_voidp)NULL
++#endif
++#ifndef png_error_ptr_NULL
++#define png_error_ptr_NULL (png_error_ptr)NULL
++#endif
++
+ #include <stdlib.h>
+ #include <string.h>
+ #include <locale.h>