From 673e42630c8e5f3a8f7782c4fe1f406887c75569 Mon Sep 17 00:00:00 2001 From: John Marino Date: Wed, 17 Sep 2014 20:33:22 +0000 Subject: 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. --- graphics/xcftools/files/patch-src_xcf2png.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 graphics/xcftools/files/patch-src_xcf2png.c (limited to 'graphics/xcftools/files/patch-src_xcf2png.c') 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 ++#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 + #include + #include -- cgit v1.2.3