$NetBSD: patch-ipc_chromium_src_base_message__pump__libevent.cc,v 1.5 2023/02/05 09:05:29 he Exp $ --- ipc/chromium/src/base/message_pump_libevent.cc.orig 2020-08-28 21:32:41.000000000 +0000 +++ ipc/chromium/src/base/message_pump_libevent.cc @@ -24,6 +24,7 @@ // This macro checks that the _EVENT_SIZEOF_* constants defined in // ipc/chromiume/src/third_party//event2/event-config.h are correct. +#if 0 #if defined(_EVENT_SIZEOF_SHORT) # define CHECK_EVENT_SIZEOF(TYPE, type) \ static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \ @@ -44,6 +45,7 @@ CHECK_EVENT_SIZEOF(SHORT, short); CHECK_EVENT_SIZEOF(SIZE_T, size_t); CHECK_EVENT_SIZEOF(TIME_T, time_t); CHECK_EVENT_SIZEOF(VOID_P, void*); +#endif // Lifecycle of struct event // Libevent uses two main data structures: