summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_sqlite_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_sqlite_BUILD.gn')
-rw-r--r--www/chromium/files/patch-third__party_sqlite_BUILD.gn32
1 files changed, 7 insertions, 25 deletions
diff --git a/www/chromium/files/patch-third__party_sqlite_BUILD.gn b/www/chromium/files/patch-third__party_sqlite_BUILD.gn
index 5890a421beda..3c3733a20451 100644
--- a/www/chromium/files/patch-third__party_sqlite_BUILD.gn
+++ b/www/chromium/files/patch-third__party_sqlite_BUILD.gn
@@ -1,29 +1,11 @@
---- third_party/sqlite/BUILD.gn.orig 2018-06-13 00:11:05.000000000 +0200
-+++ third_party/sqlite/BUILD.gn 2018-07-19 20:59:10.723249000 +0200
-@@ -155,7 +155,7 @@
- # sqlite3Fts3InitTok).
- cflags += [ "-Wno-unused-function" ]
- }
-- if (is_linux) {
-+ if (is_linux && !is_bsd) {
- cflags += [
- # SQLite doesn"t believe in compiler warnings,
- # preferring testing.
-@@ -208,7 +208,7 @@
+--- third_party/sqlite/BUILD.gn.orig 2018-12-12 22:56:25.000000000 +0100
++++ third_party/sqlite/BUILD.gn 2019-01-04 00:53:21.136257000 +0100
+@@ -213,7 +213,7 @@
+ ]
}
}
-
-- if (is_linux || is_android) {
-+ if ((is_linux && !is_bsd) || is_android) {
- defines += [
- # Linux provides fdatasync(), a faster equivalent of fsync().
- "fdatasync=fdatasync",
-@@ -243,7 +243,7 @@
- ":sqlite_warnings",
- ]
-
- if (is_linux) {
+ if (is_linux && !is_bsd) {
- libs = [ "dl" ]
- } else if (is_mac || is_ios) {
- libs = [ "CoreFoundation.framework" ]
+ cflags += [
+ # SQLite doesn't believe in compiler warnings, preferring testing.
+ # http://www.sqlite.org/faq.html#q17