From 76405a527b3e2f638aab86af15330e44e3be5691 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Tue, 11 Jan 2022 19:53:55 -0500 Subject: still trying to fix --- www-client/chromium/files/chromium-99-sqlcursor.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 www-client/chromium/files/chromium-99-sqlcursor.patch (limited to 'www-client/chromium/files') diff --git a/www-client/chromium/files/chromium-99-sqlcursor.patch b/www-client/chromium/files/chromium-99-sqlcursor.patch new file mode 100644 index 0000000..c7041cd --- /dev/null +++ b/www-client/chromium/files/chromium-99-sqlcursor.patch @@ -0,0 +1,16 @@ +diff --git a/sql/recover_module/cursor.h b/sql/recover_module/cursor.h +index 845b78526..cf39d8021 100644 +--- a/sql/recover_module/cursor.h ++++ b/sql/recover_module/cursor.h +@@ -63,8 +63,9 @@ class VirtualCursor { + // |sqlite_cursor| must have been returned by VirtualTable::SqliteCursor(). + static inline VirtualCursor* FromSqliteCursor( + sqlite3_vtab_cursor* sqlite_cursor) { +- static_assert(std::is_standard_layout::value, +- "needed for the reinterpret_cast below"); ++ //dont care ++ //static_assert(std::is_standard_layout::value, ++ // "needed for the reinterpret_cast below"); + static_assert(offsetof(VirtualCursor, sqlite_cursor_) == 0, + "sqlite_cursor_ must be the first member of the class"); + VirtualCursor* result = reinterpret_cast(sqlite_cursor); -- cgit v1.2.3