svn commit: r376079 - head/graphics/apngdis/files
John Marino
marino at FreeBSD.org
Sat Jan 3 02:37:45 UTC 2015
Author: marino
Date: Sat Jan 3 02:37:44 2015
New Revision: 376079
URL: https://svnweb.freebsd.org/changeset/ports/376079
QAT: https://qat.redports.org/buildarchive/r376079/
Log:
graphics/apngdis: #include <cstring>
This is fallout from png upgrade. Modern GCC needs <cstring> for memcpy,
although clang seems to be happy without it.
Added:
head/graphics/apngdis/files/patch-apngdis.cpp (contents, props changed)
Added: head/graphics/apngdis/files/patch-apngdis.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/apngdis/files/patch-apngdis.cpp Sat Jan 3 02:37:44 2015 (r376079)
@@ -0,0 +1,10 @@
+--- apngdis.cpp.orig 2015-01-03 02:18:00 UTC
++++ apngdis.cpp
+@@ -30,6 +30,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <vector>
++#include <cstring>
+ #include "png.h" /* original (unpatched) libpng is ok */
+ #include "zlib.h"
+ using namespace std;
More information about the svn-ports-head
mailing list