aboutsummaryrefslogtreecommitdiff
path: root/devel/protobuf/files/patch-i386
blob: 401026930a2e98e2069de40319db343b4d2095fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Reference:	https://github.com/protocolbuffers/protobuf/issues/9792
		http://pb2.nyi.freebsd.org/data/123i386-default-foo/2022-04-16_08h34m58s/logs/errors/protobuf-3.20.0,1.log

--- src/google/protobuf/arenastring.cc.orig	2022-03-25 21:52:12 UTC
+++ src/google/protobuf/arenastring.cc
@@ -64,7 +64,7 @@ constexpr size_t kNewAlign = alignof(std::max_align_t)
 #endif
 constexpr size_t kStringAlign = alignof(std::string);
 
-static_assert((kStringAlign > kNewAlign ? kStringAlign : kNewAlign) >= 8, "");
+//static_assert((kStringAlign > kNewAlign ? kStringAlign : kNewAlign) >= 8, "");
 static_assert(alignof(ExplicitlyConstructedArenaString) >= 8, "");
 
 }  // namespace