aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-net_disk__cache_blockfile_disk__format.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron23/files/patch-net_disk__cache_blockfile_disk__format.h')
-rw-r--r--devel/electron23/files/patch-net_disk__cache_blockfile_disk__format.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-net_disk__cache_blockfile_disk__format.h b/devel/electron23/files/patch-net_disk__cache_blockfile_disk__format.h
new file mode 100644
index 000000000000..bb22a55a1656
--- /dev/null
+++ b/devel/electron23/files/patch-net_disk__cache_blockfile_disk__format.h
@@ -0,0 +1,12 @@
+--- net/disk_cache/blockfile/disk_format.h.orig 2022-08-31 12:19:35 UTC
++++ net/disk_cache/blockfile/disk_format.h
+@@ -153,7 +153,9 @@ struct RankingsNode {
+ };
+ #pragma pack(pop)
+
++#if !defined(OS_BSD)
+ static_assert(sizeof(RankingsNode) == 36, "bad RankingsNode");
++#endif
+
+ } // namespace disk_cache
+