Bug 236765 - editors/libreoffice 6.2.2 fails to build with gcc on !libc++ archs
Summary: editors/libreoffice 6.2.2 fails to build with gcc on !libc++ archs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords:
: 236823 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-24 16:38 UTC by Justin Hibbits
Modified: 2019-03-27 17:57 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (office)


Attachments
Fix for libreoffice on gcc archs (631 bytes, patch)
2019-03-24 16:38 UTC, Justin Hibbits
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Hibbits freebsd_committer freebsd_triage 2019-03-24 16:38:37 UTC
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.
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2019-03-27 07:34:02 UTC
*** Bug 236823 has been marked as a duplicate of this bug. ***
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-03-27 17:56:35 UTC
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