Files
chromium-dev/chromium-82-gcc-constexpr.patch
Tomáš Chvátal 2abdd645d3 Accepting request 807553 from network:chromium
- Add icu-v67.patch from upstream to fix build with icu v67 
- Disable lto to avoid the overflow >16GB ram used
- Use internal resources for icon and appdata
- Added patch chromium-vaapi-fix.patch again to fix boo#1146219
-------------------------------------------------------------------  
- Up to 78.0.3887.7
- Enable LTO for x86_64 - add gcc-enable-lto.patch and
  gcc-lto-rsp-clobber.patch patches.
- Refresh patch:
  * chromium-non-void-return.patch
- Add new patch to fix aarch64 build:
  * chromium-fix_swiftshader.patch
- Update %arm build, but keep it disabled for now, as ld requires 
  lots of RAM
- Up to 72.0.3626.14
- Update chromium-vaapi.patch
- Update chromium-system-icu.patch
- Increase %limit_build value to avoid OOM
- Rework aarch64 build requirements
- Reduce jumbo_file_merge_limit to 8 for aarch64 to avoid OOM
- Fix again aarch64 skia build:
  * chromium-skia-aarch64-buildfix.patch
- Up to 71.0.3551.3
- Up to 70.0.3528.4

- Up to chromium-70.0.3521.2
- Add patch trying to build with system icu:

- Up to chromium-70.0.3510.0
- Up to 69.0.3497.23

OBS-URL: https://build.opensuse.org/request/show/807553
OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=1406
2020-05-20 09:32:57 +00:00

35 lines
1.7 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 5812cd9bc2c15a034db24e0d2a43cc923d8a66cc Mon Sep 17 00:00:00 2001
From: Jose Dapena Paz <jdapena@igalia.com>
Date: Thu, 20 Feb 2020 13:00:16 +0100
Subject: [PATCH] GCC: DOMRect constexpr equal operator depends on non constexpr operators
Make accessors of DOMRectReadOnly constexpr so the equal operator can be
also constexpr.
../../third_party/blink/renderer/core/geometry/dom_rect.h: In function constexpr bool blink::operator==(const blink::DOMRect&, const blink::DOMRect&):
../../third_party/blink/renderer/core/geometry/dom_rect.h:38:15: error: call to non-constexpr function double blink::DOMRectReadOnly::x() const
Bug: 819294
Change-Id: Ic1fed89c5480ce4eedaaf7add2779d000b77cc48
---
Index: chromium-83.0.4103.14/third_party/blink/renderer/core/geometry/dom_rect_read_only.h
===================================================================
--- chromium-83.0.4103.14.orig/third_party/blink/renderer/core/geometry/dom_rect_read_only.h
+++ chromium-83.0.4103.14/third_party/blink/renderer/core/geometry/dom_rect_read_only.h
@@ -31,10 +31,10 @@ class CORE_EXPORT DOMRectReadOnly : publ
DOMRectReadOnly(double x, double y, double width, double height);
- double x() const { return x_; }
- double y() const { return y_; }
- double width() const { return width_; }
- double height() const { return height_; }
+ constexpr double x() const { return x_; }
+ constexpr double y() const { return y_; }
+ constexpr double width() const { return width_; }
+ constexpr double height() const { return height_; }
double top() const { return geometry_util::NanSafeMin(y_, y_ + height_); }
double right() const { return geometry_util::NanSafeMax(x_, x_ + width_); }