freebsd-ports/graphics/graphopt/files/patch-src_classes_psExporter.cc
John Marino aa8eddd2a4 Add <cstring> and/or <cstdlib> to support modern gcc
Four of these five patches should have been part of the previous
commit but I didn't notice them.  The ampasCTL pach is to fix a
regression that I introduced by removing part of the post-patch
target.

Approved by:	gcc5 support blanket
2015-09-20 18:59:19 +00:00

10 lines
278 B
C++

--- src/classes/psExporter.cc.intermediate 2015-09-20 01:43:24 UTC
+++ src/classes/psExporter.cc
@@ -1,6 +1,6 @@
#include "psExporter.h"
#include <cstdlib>
-
+#include <cstring>
psExporter::psExporter(char *what_file, nodes *what_nodes) {
filename = strdup(what_file);