Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2015 10:01:48 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385240 - head/www/chromium/files
Message-ID:  <201505031001.t43A1mf1080333@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Sun May  3 10:01:48 2015
New Revision: 385240
URL: https://svnweb.freebsd.org/changeset/ports/385240

Log:
  Really fix the build with GCC (for FreeBSD < 10)
  
  Submitted by:	pkg-fallout
  Tested by:	kwm (multiple iterations)
  MFH:		2015Q2

Modified:
  head/www/chromium/files/extra-patch-gcc

Modified: head/www/chromium/files/extra-patch-gcc
==============================================================================
--- head/www/chromium/files/extra-patch-gcc	Sun May  3 09:08:08 2015	(r385239)
+++ head/www/chromium/files/extra-patch-gcc	Sun May  3 10:01:48 2015	(r385240)
@@ -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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505031001.t43A1mf1080333>