aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/llvm-remove-unsupported-compiler-warnings.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-12-25 12:55:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-12-25 12:58:43 +0000
commitc6f860efa48243eff4a733b083327e4e681f7386 (patch)
treebe86e302919be6ca306e12d8027c9ece2b89536f /community/chromium/llvm-remove-unsupported-compiler-warnings.patch
parent1e697147022325620c2e31c4417460f09c9df59d (diff)
downloadaports-c6f860efa48243eff4a733b083327e4e681f7386.tar.bz2
aports-c6f860efa48243eff4a733b083327e4e681f7386.tar.xz
community/chromium: upgrade to 79.0.3945.88
CVE-2019-13725: Use after free in Bluetooth. CVE-2019-13726: Heap buffer overflow in password manager. CVE-2019-13727: Insufficient policy enforcement in WebSockets. CVE-2019-13728: Out of bounds write in V8. CVE-2019-13729: Use after free in WebSockets. CVE-2019-13730: Type Confusion in V8. CVE-2019-13732: Use after free in WebAudio. CVE-2019-13734: Out of bounds write in SQLite. CVE-2019-13735: Out of bounds write in V8. CVE-2019-13736: Integer overflow in PDFium. CVE-2019-13737: Insufficient policy enforcement in autocomplete. CVE-2019-13738: Insufficient policy enforcement in navigation. CVE-2019-13739: Incorrect security UI in Omnibox. CVE-2019-13740: Incorrect security UI in sharing. CVE-2019-13741: Insufficient validation of untrusted input in Blink. CVE-2019-13742: Incorrect security UI in Omnibox. CVE-2019-13743: Incorrect security UI in external protocol handling. CVE-2019-13744: Insufficient policy enforcement in cookies. CVE-2019-13745: Insufficient policy enforcement in audio. CVE-2019-13746: Insufficient policy enforcement in Omnibox. CVE-2019-13747: Uninitialized Use in rendering. CVE-2019-13748: Insufficient policy enforcement in developer tools. CVE-2019-13749: Incorrect security UI in Omnibox. CVE-2019-13750: Insufficient data validation in SQLite. CVE-2019-13751: Uninitialized Use in SQLite. CVE-2019-13752: Out of bounds read in SQLite. CVE-2019-13753: Out of bounds read in SQLite. CVE-2019-13754: Insufficient policy enforcement in extensions. CVE-2019-13755: Insufficient policy enforcement in extensions. CVE-2019-13756: Incorrect security UI in printing. CVE-2019-13757: Incorrect security UI in Omnibox. CVE-2019-13758: Insufficient policy enforcement in navigation. CVE-2019-13759: Incorrect security UI in interstitials. CVE-2019-13761: Incorrect security UI in Omnibox. CVE-2019-13762: Insufficient policy enforcement in downloads. CVE-2019-13763: Insufficient policy enforcement in payments. CVE-2019-13764: Type Confusion in V8. CVE-2019-13767: Use after free in media picker. ref #11043
Diffstat (limited to 'community/chromium/llvm-remove-unsupported-compiler-warnings.patch')
-rw-r--r--community/chromium/llvm-remove-unsupported-compiler-warnings.patch51
1 files changed, 31 insertions, 20 deletions
diff --git a/community/chromium/llvm-remove-unsupported-compiler-warnings.patch b/community/chromium/llvm-remove-unsupported-compiler-warnings.patch
index 4de8aea9f5..df8aed86d9 100644
--- a/community/chromium/llvm-remove-unsupported-compiler-warnings.patch
+++ b/community/chromium/llvm-remove-unsupported-compiler-warnings.patch
@@ -1,13 +1,29 @@
---- build/config/compiler/BUILD.gn 2019-10-24 11:01:40.459910040 -0400
-+++ build/config/compiler/BUILD.gn 2019-10-24 11:04:19.690063743 -0400
-@@ -1492,37 +1492,6 @@
- # Currently goma can not handle case sensitiveness for windows well.
- cflags += [ "-Wno-nonportable-include-path" ]
- }
+Author: Olivier Tilloy <olivier.tilloy@canonical.com>
+Description: Do not use warning flags that require a newer Clang
+
+Index: dev/build/config/compiler/BUILD.gn
+===================================================================
+--- build/config/compiler/BUILD.gn
++++ build/config/compiler/BUILD.gn
+@@ -693,14 +693,6 @@ config("compiler") {
+ ldflags += [ "-Wl,--no-rosegment" ]
+ }
+
+- # This flag enforces that member pointer base types are complete. It helps
+- # prevent us from running into problems in the Microsoft C++ ABI (see
+- # https://crbug.com/847724).
+- if (is_clang && !is_nacl && target_os != "chromeos" && !use_xcode_clang &&
+- (is_win || use_custom_libcxx)) {
+- cflags += [ "-fcomplete-member-pointers" ]
+- }
-
-- if (current_toolchain == host_toolchain || !use_xcode_clang) {
-- # Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not
-- # recognize.
+ # Pass the same C/C++ flags to the objective C/C++ compiler.
+ cflags_objc += cflags_c
+ cflags_objcc += cflags_cc
+@@ -1501,28 +1493,6 @@ config("default_warnings") {
+ if (current_toolchain == host_toolchain || !use_xcode_clang) {
+ # Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not
+ # recognize.
- cflags += [
- # Ignore warnings about MSVC optimization pragmas.
- # TODO(thakis): Only for no_chromium_code? http://crbug.com/912662
@@ -16,9 +32,6 @@
- # TODO(https://crbug.com/989932): Evaluate and possibly enable.
- "-Wno-implicit-int-float-conversion",
-
-- # TODO(https://crbug.com/995200): Clean up and enable.
-- "-Wno-xor-used-as-pow",
--
- # TODO(https://crbug.com/999871): Decide if we want to clean up the
- # codebase or just disable this. Doesn't seem super useful, but
- # also fires in only 4 files.
@@ -29,12 +42,10 @@
-
- # TODO(https://crbug.com/999886): Clean up, enable.
- "-Wno-final-dtor-non-final-class",
+-
+- # TODO(https://crbug.com/1002945): Evaluate and possibly enable.
+- "-Wno-sizeof-array-div",
- ]
-- cflags_c += [
-- # TODO(https://crbug.com/995993): Clean up and enable.
-- "-Wno-implicit-fallthrough",
-- ]
-- }
- }
- }
- }
+
+ cflags_c += [
+ # TODO(https://crbug.com/995993): Clean up and enable.