mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
Include locales upfront, the LOCAL/jsm l10n distfile is made by a tor-browser-build of project l10n-firefox. The tpo/translations do not keep tags so two files per locale are out of sync with the linux release. PR: 273416 PR: 272477 Tested by: Martin Filla freebsd@sysctl.cz,rene@ Approved by: freebsd@sysctl.cz (maintainer)
15 lines
742 B
Text
15 lines
742 B
Text
# On FreeBSD/i386's LLVM, actual alignment for atomic types requires
|
|
# stricter alignment rules, mostly on 8 byte boundaries instead of 4 byte
|
|
# as indicated by max_align_t.
|
|
|
|
--- ./toolkit/components/protobuf/src/google/protobuf/arena_impl.h.orig 2022-08-20 20:07:57.096818000 +0200
|
|
+++ ./toolkit/components/protobuf/src/google/protobuf/arena_impl.h 2022-08-20 21:40:47.821690000 +0200
|
|
@@ -640,7 +640,7 @@
|
|
#ifdef _MSC_VER
|
|
#pragma warning(disable : 4324)
|
|
#endif
|
|
- struct alignas(kCacheAlignment) CacheAlignedLifecycleIdGenerator {
|
|
+ struct alignas(alignof(std::atomic<LifecycleIdAtomic>)) CacheAlignedLifecycleIdGenerator {
|
|
std::atomic<LifecycleIdAtomic> id;
|
|
};
|
|
static CacheAlignedLifecycleIdGenerator lifecycle_id_generator_;
|