The recent security update of Firefox 72.0 to 72.0.1 fails at least on both CURRENT and 12-STABLE to compile (recent OS version, most recent ports tree/ports updates): [...] In file included from Unified_cpp_ipc_chromium0.cpp:137: /usr/ports/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/shared_memory_posix.cc:282:16: error: variable has incomplete type 'cap_rights_t' (aka 'cap_rights') cap_rights_t rights; ^ /usr/include/sys/types.h:249:8: note: forward declaration of 'cap_rights' struct cap_rights; ^ In file included from Unified_cpp_ipc_chromium0.cpp:137: /usr/ports/www/firefox/work/firefox-72.0.1/ipc/chromium/src/base/shared_memory_posix.cc:283:28: error: use of undeclared identifier 'CAP_MMAP_R' cap_rights_init(&rights, CAP_MMAP_R); ^ gmake[5]: Leaving directory '/usr/ports/www/firefox/work/.build/toolkit/library/rust'
A commit references this bug: Author: jbeich Date: Thu Jan 9 13:32:55 UTC 2020 New revision: 522486 URL: https://svnweb.freebsd.org/changeset/ports/522486 Log: www/firefox: unbreak after r522464 In file included from Unified_cpp_ipc_chromium0.cpp:137: ipc/chromium/src/base/shared_memory_posix.cc:282:16: error: variable has incomplete type 'cap_rights_t' (aka 'cap_rights') cap_rights_t rights; ^ /usr/include/sys/types.h:247:8: note: forward declaration of 'cap_rights' struct cap_rights; ^ In file included from Unified_cpp_ipc_chromium0.cpp:137: ipc/chromium/src/base/shared_memory_posix.cc:283:28: error: use of undeclared identifier 'CAP_MMAP_R' cap_rights_init(&rights, CAP_MMAP_R); ^ PR: 243213 Pointy hat to: jbeich (landed old version of the patch) Changes: head/www/firefox/files/patch-bug1550891
*** Bug 243208 has been marked as a duplicate of this bug. ***