1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/graphics/apngdis/files/patch-apngdis.cpp
John Marino 400b47840a graphics/apngdis: #include <cstring>
This is fallout from png upgrade.  Modern GCC needs <cstring> for memcpy,
although clang seems to be happy without it.
2015-01-03 02:37:44 +00:00

11 lines
262 B
C++

--- 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;