diff options
author | marino <marino@FreeBSD.org> | 2015-09-21 02:59:19 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-09-21 02:59:19 +0800 |
commit | 0a356def49aec544cf5a41cf1631061b8ebe2296 (patch) | |
tree | 86040123565ac832e7de707e9154beb44d8aa503 /graphics | |
parent | a9727b94f5ddcdc4d9a2d7e14c746fff892d52ab (diff) | |
download | freebsd-ports-gnome-0a356def49aec544cf5a41cf1631061b8ebe2296.tar.gz freebsd-ports-gnome-0a356def49aec544cf5a41cf1631061b8ebe2296.tar.zst freebsd-ports-gnome-0a356def49aec544cf5a41cf1631061b8ebe2296.zip |
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
Diffstat (limited to 'graphics')
4 files changed, 34 insertions, 4 deletions
diff --git a/graphics/ampasCTL/files/patch-lib__dpx__dpx_util.cc b/graphics/ampasCTL/files/patch-lib__dpx__dpx_util.cc index 48a5ae2c7835..cac860278732 100644 --- a/graphics/ampasCTL/files/patch-lib__dpx__dpx_util.cc +++ b/graphics/ampasCTL/files/patch-lib__dpx__dpx_util.cc @@ -1,8 +1,10 @@ ---- ./lib/dpx/dpx_util.cc.orig 2013-10-12 18:55:34.000000000 +0200 -+++ ./lib/dpx/dpx_util.cc 2013-10-12 18:55:55.000000000 +0200 -@@ -57,6 +57,7 @@ +--- lib/dpx/dpx_util.cc.orig 2014-06-03 01:11:24 UTC ++++ lib/dpx/dpx_util.cc +@@ -55,8 +55,8 @@ + #include "dpx_util.hh" + #include <stdarg.h> #include <stdio.h> - +-#include <alloca.h> #include <string.h> +#include <stdlib.h> diff --git a/graphics/graphopt/files/patch-src_classes_optFileWriter.cc b/graphics/graphopt/files/patch-src_classes_optFileWriter.cc new file mode 100644 index 000000000000..3cd96bf64003 --- /dev/null +++ b/graphics/graphopt/files/patch-src_classes_optFileWriter.cc @@ -0,0 +1,9 @@ +--- src/classes/optFileWriter.cc.intermediate 2015-09-20 01:43:24 UTC ++++ src/classes/optFileWriter.cc +@@ -1,5 +1,6 @@ + #include "optFileWriter.h" + #include <cstdlib> ++#include <cstring> + + + optFileWriter::optFileWriter(char *what_file, nodes *what_nodes) { diff --git a/graphics/graphopt/files/patch-src_classes_psExporter.cc b/graphics/graphopt/files/patch-src_classes_psExporter.cc new file mode 100644 index 000000000000..3c776c960e4e --- /dev/null +++ b/graphics/graphopt/files/patch-src_classes_psExporter.cc @@ -0,0 +1,10 @@ +--- 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); diff --git a/graphics/graphopt/files/patch-src_classes_visioExporter.cc b/graphics/graphopt/files/patch-src_classes_visioExporter.cc new file mode 100644 index 000000000000..95dc5fa70cfe --- /dev/null +++ b/graphics/graphopt/files/patch-src_classes_visioExporter.cc @@ -0,0 +1,9 @@ +--- src/classes/visioExporter.cc.intermediate 2015-09-20 01:43:24 UTC ++++ src/classes/visioExporter.cc +@@ -1,5 +1,6 @@ + #include "visioExporter.h" + #include <cstdlib> ++#include <cstring> + + + visioExporter::visioExporter(char *what_file, nodes *what_nodes) { |