Date: Sat, 3 Jan 2015 01:07:51 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r376076 - head/graphics/libgfx/files Message-ID: <201501030107.t0317p2M071439@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sat Jan 3 01:07:50 2015 New Revision: 376076 URL: https://svnweb.freebsd.org/changeset/ports/376076 QAT: https://qat.redports.org/buildarchive/r376076/ Log: graphics/libgfx: #include <cstring> This is fallout from png upgrade. Modern GCC needs <cstring> for memcpy, although clang seems to be happy without it. Modified: head/graphics/libgfx/files/patch-png.cxx Modified: head/graphics/libgfx/files/patch-png.cxx ============================================================================== --- head/graphics/libgfx/files/patch-png.cxx Sat Jan 3 00:08:47 2015 (r376075) +++ head/graphics/libgfx/files/patch-png.cxx Sat Jan 3 01:07:50 2015 (r376076) @@ -1,6 +1,14 @@ ---- src/raster-png.cxx.orig 2004-09-27 06:45:31.000000000 +0200 -+++ src/raster-png.cxx 2012-05-04 12:59:52.000000000 +0200 -@@ -42,7 +42,7 @@ +--- src/raster-png.cxx.orig 2004-09-27 04:45:31 UTC ++++ src/raster-png.cxx +@@ -9,6 +9,7 @@ + + ************************************************************************/ + ++#include <cstring> + #include <vector> + #include <gfx/gfx.h> + #include <gfx/raster.h> +@@ -42,7 +43,7 @@ ByteRaster *read_png_image(const char *f // Because we didn't set up any error handlers, we need to be // prepared to handle longjmps out of the library on error // conditions. @@ -9,7 +17,7 @@ { png_destroy_read_struct(&png_ptr, &info_ptr, NULL); fclose(fp); -@@ -132,7 +132,7 @@ +@@ -132,7 +133,7 @@ bool write_png_image(const char *file_na return false; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501030107.t0317p2M071439>