mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
graphics/apngdis: #include <cstring>
This is fallout from png upgrade. Modern GCC needs <cstring> for memcpy, although clang seems to be happy without it.
This commit is contained in:
parent
af30c6fc5a
commit
400b47840a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376079
10
graphics/apngdis/files/patch-apngdis.cpp
Normal file
10
graphics/apngdis/files/patch-apngdis.cpp
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user