Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Mar 2014 06:29:03 -0500
From:      George Mitchell <george+freebsd@m5p.com>
To:        freebsd-ports@freebsd.org
Subject:   Adventures in ports, chapter 346785
Message-ID:  <5315B8FF.5020907@m5p.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080704010905090700090503
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Couldn't compile chromium without attached patch on FreeBSD 8.4.
-- George

--------------080704010905090700090503
Content-Type: text/plain; charset=us-ascii;
 name="chromium-346785.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="chromium-346785.patch"

Index: www/chromium/Makefile
===================================================================
--- www/chromium/Makefile	(revision 346785)
+++ www/chromium/Makefile	(working copy)
@@ -22,7 +22,7 @@
 LICENSE_COMB=	multi
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
-CFLAGS+=	-fno-stack-protector -Wno-unknown-warning-option
+CFLAGS+=	-fno-stack-protector
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
 		bash:${PORTSDIR}/shells/bash \
Index: www/chromium/files/patch-content__browser__browser_shutdown_profile_dumper.cc
===================================================================
--- www/chromium/files/patch-content__browser__browser_shutdown_profile_dumper.cc	(revision 0)
+++ www/chromium/files/patch-content__browser__browser_shutdown_profile_dumper.cc	(working copy)
@@ -0,0 +1,11 @@
+--- content/browser/browser_shutdown_profile_dumper.cc.orig	2014-02-20 15:28:24.000000000 -0500
++++ content/browser/browser_shutdown_profile_dumper.cc	2014-03-03 15:36:33.000000000 -0500
+@@ -2,6 +2,8 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+ 
++#include <stdio.h>
++
+ #include "content/browser/browser_shutdown_profile_dumper.h"
+ 
+ #include "base/base_switches.h"

Property changes on: www/chromium/files/patch-content__browser__browser_shutdown_profile_dumper.cc
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: www/chromium/files/patch-testing__perf__test_perf.cc
===================================================================
--- www/chromium/files/patch-testing__perf__test_perf.cc	(revision 0)
+++ www/chromium/files/patch-testing__perf__test_perf.cc	(working copy)
@@ -0,0 +1,15 @@
+--- testing/perf/perf_test.cc	2014-03-03 12:59:30.000000000 -0500
++++ testing/perf/perf_test.cc.orig	2014-02-20 15:28:27.000000000 -0500
+@@ -2,10 +2,10 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+ 
++#include <stdio.h>
++
+ #include "testing/perf/perf_test.h"
+ 
+-#include <stdio.h>
+-
+ #include "base/logging.h"
+ #include "base/strings/string_number_conversions.h"
+ #include "base/strings/stringprintf.h"

Property changes on: www/chromium/files/patch-testing__perf__test_perf.cc
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: www/chromium/files/patch-ui__gfx__codec__jpeg_codec.cc
===================================================================
--- www/chromium/files/patch-ui__gfx__codec__jpeg_codec.cc	(revision 0)
+++ www/chromium/files/patch-ui__gfx__codec__jpeg_codec.cc	(working copy)
@@ -0,0 +1,10 @@
+--- ui/gfx/codec/jpeg_codec.cc.orig	2014-02-20 15:27:56.000000000 -0500
++++ ui/gfx/codec/jpeg_codec.cc	2014-03-03 14:33:42.000000000 -0500
+@@ -15,6 +15,7 @@
+ #if defined(USE_SYSTEM_LIBJPEG)
+ #include <jpeglib.h>
+ #elif defined(USE_LIBJPEG_TURBO)
++#include <stdio.h>
+ #include "third_party/libjpeg_turbo/jpeglib.h"
+ #else
+ #include "third_party/libjpeg/jpeglib.h"

Property changes on: www/chromium/files/patch-ui__gfx__codec__jpeg_codec.cc
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property

--------------080704010905090700090503--



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