/[packages]/cauldron/chromium-browser-stable/current/SOURCES/chromium-98-constexpr-compiler.patch
ViewVC logotype

Contents of /cauldron/chromium-browser-stable/current/SOURCES/chromium-98-constexpr-compiler.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1790232 - (show annotations) (download)
Wed Mar 9 21:04:14 2022 UTC (2 years, 1 month ago) by squidf
File size: 697 byte(s)
- Update to 99.0.4844.51
- Remove autopatch
- Deprecated chromium-98-vulkan-validation-layer.patch
- Deprecated chromium-98-duplicate-peer-error-to-dvlog.patch
- Deprecated chromium-98-WaylandFrameManager-check.patch
- Deprecated chromium-97-ScrollView-reference.patch
- Update delete items list of source bundles
- Replace stack-protector by stack-clash-protection with clang 11 (mga8)
- system icu leads to icu_use_data_file=false
- Add system-libdrm patch to unbundle fully libdrm
- Use system wayland
- Clean up gcc-only patches
- Add gn arguments to improve load time
- Add build dependency lib64va and egl for GPU hardware acceleration

1 --- chromium-97.0.4692.71_patch/third_party/blink/renderer/platform/wtf/math_extras.h 2021-12-31 01:57:42.000000000 +0100
2 +++ chromium-97.0.4692.71_patch/third_party/blink/renderer/platform/wtf/math_extras.h.constexpr-compiler 2022-01-07 12:25:39.850309484 +0100
3 @@ -127,11 +127,11 @@ constexpr float Grad2turn(float g) {
4 return g * (1.0f / 400.0f);
5 }
6
7 -constexpr double RoundHalfTowardsPositiveInfinity(double value) {
8 +inline double RoundHalfTowardsPositiveInfinity(double value) {
9 return std::floor(value + 0.5);
10 }
11
12 -constexpr float RoundHalfTowardsPositiveInfinity(float value) {
13 +inline float RoundHalfTowardsPositiveInfinity(float value) {
14 return std::floor(value + 0.5f);
15 }
16

  ViewVC Help
Powered by ViewVC 1.1.30