From 9187a6460fc419eec4dc64a4569e306722a83427 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Tue, 22 Nov 2016 19:10:21 +0000 Subject: www/chromium: update to 54.0.2840.100 Submitted by: clutton Reviewed by: cpm, rene Obtained from: https://github.com/paranormal/ MFH: 2016Q4 Security: https://vuxml.freebsd.org/freebsd/769ba449-79e1-11e6-bf75-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/653a8059-7c49-11e6-9242-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/9c135c7e-9fa4-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/9118961b-9fa5-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/ae9cb9b8-a203-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/a3473f5a-a739-11e6-afaa-e8e0b747a45a.html Differential Revision: https://reviews.freebsd.org/D8517 --- .../files/patch-third__party_sqlite_BUILD.gn | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 www/chromium/files/patch-third__party_sqlite_BUILD.gn (limited to 'www/chromium/files/patch-third__party_sqlite_BUILD.gn') diff --git a/www/chromium/files/patch-third__party_sqlite_BUILD.gn b/www/chromium/files/patch-third__party_sqlite_BUILD.gn new file mode 100644 index 000000000000..864bb10c6ac2 --- /dev/null +++ b/www/chromium/files/patch-third__party_sqlite_BUILD.gn @@ -0,0 +1,38 @@ +--- third_party/sqlite/BUILD.gn.orig 2016-10-06 04:02:42.000000000 +0300 ++++ third_party/sqlite/BUILD.gn 2016-10-30 23:32:40.983715000 +0200 +@@ -20,7 +20,7 @@ + # sqlite3Fts3InitTok). + cflags += [ "-Wno-unused-function" ] + } +- if (is_linux) { ++ if (is_linux || is_bsd) { + cflags += [ + # SQLite doesn"t believe in compiler warnings, + # preferring testing. +@@ -177,7 +177,7 @@ + public_configs = [ ":sqlite_export" ] + } + +- if (is_linux) { ++ if (is_linux || is_bsd) { + executable("sqlite_shell") { + # So shell.c can find the correct sqlite3.h. + include_dirs = [ "amalgamation" ] +@@ -206,7 +206,7 @@ + + config("sqlite_config") { + defines = [ "USE_SYSTEM_SQLITE" ] +- if (is_ios) { ++ if (is_ios || is_bsd) { + libs = [ "sqlite3" ] + } else { + assert(false, "extra flags to use system sqlite3 library missing") +@@ -225,7 +225,7 @@ + } + } + +- if (is_ios) { ++ if (is_ios || is_bsd) { + source_set("sqlite_recover") { + sources = [ + # TODO(shess): Move out of the SQLite source tree, perhaps to ext/. -- cgit v1.2.3