Files
chromium-dev/chromium-gcc8-alignof.patch
Tomáš Chvátal d7a4c1bd91 Accepting request 642560 from network:chromium
- System harfbuzz disable as we need git variant :(
- Up 70.0.3538.45
- Up 70.0.3538.35
- Bump the nodejs dependency to 10/8
- Up to 70.0.3538.22
- 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
- Up to chromium-69.0.3497.12
- Add patch to fix aarch64 build:
  * chromium-vpx-aarch64.patch 
- Up to 69.0.3493.3
- Up to 69.0.3486.0
- Up to 69.0.3472.3
- Up to 69.0.3452.0
- Up to 68.0.3440.17
- Up to 68.0.3438.3
- Up to 68.0.3432.3
- Fix AArch64 build with chromium-crashpad-aarch64-fix.patch
- Up to 68.0.3423.2
- Refresh patch chromium-master-prefs-path.patch
- Fix AArch64 build with chromium-skia-aarch64-buildfix.patch
- Add patch chromium-skia-system-fontconfig.patch bsc#1092272
- Up to 67.0.3393.30
- Up to chromium-67.0.3396.18

- Up to 67.0.3393.4
- Refresh patch exclude_ymp.patch

OBS-URL: https://build.opensuse.org/request/show/642560
OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=1178
2018-10-17 08:03:27 +00:00

18 lines
788 B
Diff

--- chromium-70.0.3510.0.old/mojo/public/c/system/macros.h 2018-08-06 09:15:30.346258487 +0200
+++ chromium-70.0.3510.0/mojo/public/c/system/macros.h 2018-08-06 14:49:23.239735548 +0200
@@ -27,7 +27,13 @@
(sizeof(void*) == 4 ? 32 : 0)
// Like the C++11 |alignof| operator.
-#if __cplusplus >= 201103L
+#if defined(__GNUC__) && __GNUC__ >= 8
+// GCC 8 has changed the alignof operator to return the minimal alignment
+// required by the target ABI, instead of the preferred alignment.
+// This means that on 32-bit x86, it will return 4 instead of 8.
+// Use __alignof__ instead to avoid this.
+#define MOJO_ALIGNOF(type) __alignof__(type)
+#elif __cplusplus >= 201103L
#define MOJO_ALIGNOF(type) alignof(type)
#elif defined(__GNUC__)
#define MOJO_ALIGNOF(type) __alignof__(type)