aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-third__party_protobuf_src_google_protobuf_arenastring.cc
blob: 5ecfe8529421b9c67ef1ba3192f0a62c6ecb4224 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- third_party/protobuf/src/google/protobuf/arenastring.cc.orig	2022-09-01 14:18:43 UTC
+++ third_party/protobuf/src/google/protobuf/arenastring.cc
@@ -64,7 +64,9 @@ constexpr size_t kNewAlign = alignof(std::max_align_t)
 #endif
 constexpr size_t kStringAlign = alignof(std::string);
 
+#if !(defined(__FreeBSD__) && defined(__i386__))
 static_assert((kStringAlign > kNewAlign ? kStringAlign : kNewAlign) >= 8, "");
+#endif
 static_assert(alignof(ExplicitlyConstructedArenaString) >= 8, "");
 
 }  // namespace