diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
commit | 26b4c8f71f91d22e081b27814782686edde0c90a (patch) | |
tree | 1c321c39372c25d8634e75b5c8e08edc676b296d /devel/electron4/files/patch-mojo_public_c_system_buffer.h | |
parent | New port: math/py-optuna: A hyperparameter optimization framework (diff) |
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed
With hat: portmgr
Diffstat (limited to 'devel/electron4/files/patch-mojo_public_c_system_buffer.h')
-rw-r--r-- | devel/electron4/files/patch-mojo_public_c_system_buffer.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron4/files/patch-mojo_public_c_system_buffer.h b/devel/electron4/files/patch-mojo_public_c_system_buffer.h new file mode 100644 index 000000000000..3aa39a171465 --- /dev/null +++ b/devel/electron4/files/patch-mojo_public_c_system_buffer.h @@ -0,0 +1,11 @@ +--- mojo/public/c/system/buffer.h.orig 2019-03-19 09:06:10 UTC ++++ mojo/public/c/system/buffer.h +@@ -30,7 +30,7 @@ struct MOJO_ALIGNAS(8) MojoCreateSharedBufferOptions { + // See |MojoCreateSharedBufferFlags|. + MojoCreateSharedBufferFlags flags; + }; +-MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment"); ++MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) <= 8, "int64_t has weird alignment"); + MOJO_STATIC_ASSERT(sizeof(MojoCreateSharedBufferOptions) == 8, + "MojoCreateSharedBufferOptions has wrong size"); + |