Created attachment 203108 [details] Fix for libreoffice on gcc archs libreoffice tries to use some error codes that are not defined on FreeBSD; specifically ENOSR, ENOSTR, ENODATA, and defines ETIME to ETIMEDOUT which causes a 'duplicate case statement' error. The attached patch fixes this build.
*** Bug 236823 has been marked as a duplicate of this bug. ***
A commit references this bug: Author: lwhsu Date: Wed Mar 27 17:56:19 UTC 2019 New revision: 496956 URL: https://svnweb.freebsd.org/changeset/ports/496956 Log: - Add QT5 and KDE5 options [1] - Fix build with gcc on !libc++ archs [2] - Rework patch-sal_osl_unx_thread.cxx for more portable [3] - Fix pkg-plist while GTK3 enabled PR: 236748 [1], 236765 [2] Submitted by: VVD <vvd@unislabs.com> [1], jhibbits [2], Greg Veldman <freebsd@gregv.net> [3] Changes: head/editors/libreoffice/Makefile head/editors/libreoffice/files/patch-powerpc head/editors/libreoffice/files/patch-sal_osl_unx_thread.cxx head/editors/libreoffice/files/patch-sal_osl_unx_uunxapi.cxx