diff --git a/chromium-115-clang-warnings.patch b/chromium-115-clang-warnings.patch new file mode 100644 index 00000000..2bbd08f5 --- /dev/null +++ b/chromium-115-clang-warnings.patch @@ -0,0 +1,57 @@ +diff -up chromium-115.0.5790.98/sql/recover_module/cursor.h.me chromium-115.0.5790.98/sql/recover_module/cursor.h +--- chromium-115.0.5790.98/sql/recover_module/cursor.h.me 2023-07-21 20:13:43.587451992 +0200 ++++ chromium-115.0.5790.98/sql/recover_module/cursor.h 2023-07-21 20:16:24.989457148 +0200 +@@ -61,6 +61,10 @@ class VirtualCursor { + // The VirtualCursor instance that embeds a given SQLite virtual table cursor. + // + // |sqlite_cursor| must have been returned by VirtualTable::SqliteCursor(). ++#ifdef __GNUC__ ++#pragma GCC diagnostic push ++#pragma GCC diagnostic ignored "-Winvalid-offsetof" ++#endif + static inline VirtualCursor* FromSqliteCursor( + sqlite3_vtab_cursor* sqlite_cursor) { + VirtualCursor* result = reinterpret_cast( +@@ -69,6 +73,9 @@ class VirtualCursor { + CHECK_EQ(sqlite_cursor, &result->sqlite_cursor_); + return result; + } ++#ifdef __GNUC__ ++#pragma GCC diagnostic pop ++#endif + + // Seeks the cursor to the first readable row. Returns a SQLite status code. + int First(); +diff -up chromium-115.0.5790.98/third_party/angle/src/libANGLE/BlobCache.cpp.me chromium-115.0.5790.98/third_party/angle/src/libANGLE/BlobCache.cpp +--- chromium-115.0.5790.98/third_party/angle/src/libANGLE/BlobCache.cpp.me 2023-07-21 20:10:05.119385885 +0200 ++++ chromium-115.0.5790.98/third_party/angle/src/libANGLE/BlobCache.cpp 2023-07-21 20:10:14.386558331 +0200 +@@ -14,7 +14,6 @@ + #include "libANGLE/histogram_macros.h" + #include "platform/PlatformMethods.h" + +-#define USE_SYSTEM_ZLIB + #include "compression_utils_portable.h" + + namespace egl +diff -up chromium-115.0.5790.98/third_party/angle/src/libANGLE/MemoryProgramCache.cpp.me chromium-115.0.5790.98/third_party/angle/src/libANGLE/MemoryProgramCache.cpp +--- chromium-115.0.5790.98/third_party/angle/src/libANGLE/MemoryProgramCache.cpp.me 2023-07-21 20:10:36.864976619 +0200 ++++ chromium-115.0.5790.98/third_party/angle/src/libANGLE/MemoryProgramCache.cpp 2023-07-21 20:11:07.629549228 +0200 +@@ -8,7 +8,6 @@ + // layer to warm up the cache from disk. + + // Include zlib first, otherwise FAR gets defined elsewhere. +-#define USE_SYSTEM_ZLIB + #include "compression_utils_portable.h" + + #include "libANGLE/MemoryProgramCache.h" +diff -up chromium-115.0.5790.98/third_party/angle/src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp.me chromium-115.0.5790.98/third_party/angle/src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp +--- chromium-115.0.5790.98/third_party/angle/src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp.me 2023-07-21 20:09:44.206996746 +0200 ++++ chromium-115.0.5790.98/third_party/angle/src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp 2023-07-21 20:09:51.834138674 +0200 +@@ -10,7 +10,6 @@ + + #include "libANGLE/renderer/vulkan/vk_internal_shaders_autogen.h" + +-#define USE_SYSTEM_ZLIB + #include "compression_utils_portable.h" + + namespace rx diff --git a/chromium.spec b/chromium.spec index 5796f366..c3a33f8b 100644 --- a/chromium.spec +++ b/chromium.spec @@ -234,7 +234,7 @@ %endif Name: chromium%{chromium_channel} -Version: 115.0.5790.98 +Version: 115.0.5790.102 Release: 1%{?dist} Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use Url: http://www.chromium.org/Home @@ -385,6 +385,9 @@ Patch309: chromium-115-include_contains_h_header_for_V4L2StatefulVideoDecoder.pa # Load default cursor theme if theme name is empty Patch310: chromium-115-wayland-load_default_cursor_theme.patch +# clang warnings +Patch311: chromium-115-clang-warnings.patch + # Qt issue Patch321: chromium-114-qt-handle_scale_factor_changes.patch Patch322: chromium-114-qt-fix_font_double_scaling.patch @@ -999,6 +1002,7 @@ udev. %patch -P308 -p1 -b .do_not_restrict_new_V4L2_decoders.v4l2 %patch -P309 -p1 -b .include_contains_h_header_for_V4L2StatefulVideoDecoder %patch -P310 -p1 -b .wayland_load_default_cursor_theme +%patch -P311 -p1 -b .clang-warnings %patch -P321 -p1 -b .handle_scale_factor_changes %patch -P322 -p1 -b .fix_font_double_scaling @@ -1686,6 +1690,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %{chromium_path}/chromedriver %changelog +* Sat Jul 22 2023 Than Ngo - 115.0.5790.102-1 +- update to 115.0.5790.102 + * Tue Jul 18 2023 Than Ngo - 115.0.5790.98-1 - update to 115.0.5790.98 diff --git a/sources b/sources index 6af31fac..e7683bf3 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (node-v19.8.1-linux-arm64.tar.xz) = 86ff19085669e92ce7afe2fd7d4df0c5441df2d88c00f29d5463b805f3cf5625626db8aebf98349c9a495b772da1ce6d68263730018207ea98815058a1c81397 SHA512 (node-v19.8.1-linux-x64.tar.xz) = 925c0037c6b7074d0b0245bced20d0a0d9b1300f53b808106f16b5018d763f5f5b00bc321b33fa1033d736b1e1076608da9b7fcae66aed53d27b100b1186e2c6 -SHA512 (chromium-115.0.5790.98-clean.tar.xz) = 5c0069ef0f70eaa8143eb876c838ba207fc7c231cc4daf83f70a0c4c5d785b0e4150442e1cfd232fd7d976a5c60a3cf23cfca07f2cdbfe7330d979f61f142658 +SHA512 (chromium-115.0.5790.102-clean.tar.xz) = 4d5341f9d4367d835d84e6f206405ce08d1695f0451e0d57dd903c9cc9d23c889aa6718343eab1361d30044e94fa8968de94e59eb19bd41fa50c736d9bd22566