svn commit: r397382 - in head: converters/fix-mime-charset/files graphics/ampasCTL/files graphics/graphopt/files
John Marino
marino at FreeBSD.org
Sun Sep 20 18:59:21 UTC 2015
Author: marino
Date: Sun Sep 20 18:59:19 2015
New Revision: 397382
URL: https://svnweb.freebsd.org/changeset/ports/397382
Log:
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
Added:
head/converters/fix-mime-charset/files/patch-src_input.cc (contents, props changed)
head/graphics/graphopt/files/patch-src_classes_optFileWriter.cc (contents, props changed)
head/graphics/graphopt/files/patch-src_classes_psExporter.cc (contents, props changed)
head/graphics/graphopt/files/patch-src_classes_visioExporter.cc (contents, props changed)
Modified:
head/graphics/ampasCTL/files/patch-lib__dpx__dpx_util.cc
Added: head/converters/fix-mime-charset/files/patch-src_input.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/converters/fix-mime-charset/files/patch-src_input.cc Sun Sep 20 18:59:19 2015 (r397382)
@@ -0,0 +1,10 @@
+--- src/input.cc.orig 2003-07-29 23:29:11 UTC
++++ src/input.cc
+@@ -3,6 +3,7 @@
+ #include "input.h"
+ #include <iostream>
+ #include <fstream>
++#include <cstring>
+
+ /* Input */
+
Modified: head/graphics/ampasCTL/files/patch-lib__dpx__dpx_util.cc
==============================================================================
--- head/graphics/ampasCTL/files/patch-lib__dpx__dpx_util.cc Sun Sep 20 18:42:06 2015 (r397381)
+++ head/graphics/ampasCTL/files/patch-lib__dpx__dpx_util.cc Sun Sep 20 18:59:19 2015 (r397382)
@@ -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>
Added: head/graphics/graphopt/files/patch-src_classes_optFileWriter.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/graphopt/files/patch-src_classes_optFileWriter.cc Sun Sep 20 18:59:19 2015 (r397382)
@@ -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) {
Added: head/graphics/graphopt/files/patch-src_classes_psExporter.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/graphopt/files/patch-src_classes_psExporter.cc Sun Sep 20 18:59:19 2015 (r397382)
@@ -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);
Added: head/graphics/graphopt/files/patch-src_classes_visioExporter.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/graphopt/files/patch-src_classes_visioExporter.cc Sun Sep 20 18:59:19 2015 (r397382)
@@ -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) {
More information about the svn-ports-all
mailing list