diff options
author | rene <rene@FreeBSD.org> | 2015-05-03 18:01:48 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2015-05-03 18:01:48 +0800 |
commit | 9a9e5c51154012c72ef455c42d5c089730c0899a (patch) | |
tree | 4e9c03c81fcb40ff58ad79b350d2c8746e511e95 /www | |
parent | c7a8bbb447e07630cde1220ff524eb9f57bf7013 (diff) | |
download | freebsd-ports-gnome-9a9e5c51154012c72ef455c42d5c089730c0899a.tar.gz freebsd-ports-gnome-9a9e5c51154012c72ef455c42d5c089730c0899a.tar.zst freebsd-ports-gnome-9a9e5c51154012c72ef455c42d5c089730c0899a.zip |
Really fix the build with GCC (for FreeBSD < 10)
Submitted by: pkg-fallout
Tested by: kwm (multiple iterations)
MFH: 2015Q2
Diffstat (limited to 'www')
-rw-r--r-- | www/chromium/files/extra-patch-gcc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/www/chromium/files/extra-patch-gcc b/www/chromium/files/extra-patch-gcc index df5060636da4..056aa9df5b72 100644 --- a/www/chromium/files/extra-patch-gcc +++ b/www/chromium/files/extra-patch-gcc @@ -86,3 +86,41 @@ #include <string> #include <vector> +--- v8/src/compiler/graph-visualizer.cc.orig 2015-04-28 22:29:10.000000000 +0200 ++++ v8/src/compiler/graph-visualizer.cc 2015-05-02 21:01:32.086593000 +0200 +@@ -5,6 +5,7 @@ + #include "src/compiler/graph-visualizer.h" + + #include <sstream> ++#include <cstdio> + #include <string> + + #include "src/code-stubs.h" +@@ -25,7 +26,7 @@ + namespace compiler { + + +-FILE* OpenVisualizerLogFile(CompilationInfo* info, const char* phase, ++std::FILE* OpenVisualizerLogFile(CompilationInfo* info, const char* phase, + const char* suffix, const char* mode) { + EmbeddedVector<char, 256> filename; + SmartArrayPointer<char> function_name; +--- v8/src/compiler/graph-visualizer.h.orig 2015-04-28 22:29:10.000000000 +0200 ++++ v8/src/compiler/graph-visualizer.h 2015-05-02 21:34:40.659733000 +0200 +@@ -5,6 +5,7 @@ + #ifndef V8_COMPILER_GRAPH_VISUALIZER_H_ + #define V8_COMPILER_GRAPH_VISUALIZER_H_ + ++#include <cstdio> + #include <iosfwd> + + namespace v8 { +@@ -20,7 +21,7 @@ + class Schedule; + class SourcePositionTable; + +-FILE* OpenVisualizerLogFile(CompilationInfo* info, const char* phase, ++std::FILE* OpenVisualizerLogFile(CompilationInfo* info, const char* phase, + const char* suffix, const char* mode); + + struct AsDOT { |