diff options
author | marino <marino@FreeBSD.org> | 2015-01-03 02:37:44 +0000 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-01-03 02:37:44 +0000 |
commit | ee9398b64cb2670837b072094ed521aa414469c3 (patch) | |
tree | b19044b1c59381f5780d39401554dac297326c44 | |
parent | c2a54ade8aed7eaefe2c2e860e0f379b13c968bc (diff) | |
download | FreeBSD-ports-ee9398b64cb2670837b072094ed521aa414469c3.zip FreeBSD-ports-ee9398b64cb2670837b072094ed521aa414469c3.tar.gz |
graphics/apngdis: #include <cstring>
This is fallout from png upgrade. Modern GCC needs <cstring> for memcpy,
although clang seems to be happy without it.
-rw-r--r-- | graphics/apngdis/files/patch-apngdis.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/apngdis/files/patch-apngdis.cpp b/graphics/apngdis/files/patch-apngdis.cpp new file mode 100644 index 0000000..52fb7d2 --- /dev/null +++ b/graphics/apngdis/files/patch-apngdis.cpp @@ -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; |