[Bug 293287] editors/libreoffice build failed

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 25 Feb 2026 19:27:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293287

omars <omars1234@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |omars1234@gmail.com

--- Comment #7 from omars <omars1234@gmail.com> ---
(In reply to Dima Panov from comment #5)
I ran into this same build issue (building from ports on FreeBSD
13.5-RELEASE-p8) and tracked it down. The issue is that the missing macros in
this bug (eg IN_CLASSB) are in netinet/in.h (not netinet/ip.h).

Adding:
#include <netinet/in.h>

to the define block you mentioned, in file
"libreoffice-26.2.0.3/sal/osl/unx/socket.cxx", allows the build to complete
normally.

I don't know if that fell out of the patches for libreoffice port recently or
something else changed, but thought I'd share the fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.