Adventures in ports, chapter 346785

George Mitchell george+freebsd at m5p.com
Tue Mar 4 11:29:10 UTC 2014


Couldn't compile chromium without attached patch on FreeBSD 8.4.
-- George
-------------- next part --------------
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


More information about the freebsd-ports mailing list