Bug 214891 - editors/libreoffice: fails to build with hunspell 1.5.1
Summary: editors/libreoffice: fails to build with hunspell 1.5.1
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords: needs-patch
Depends on:
Blocks: 214837
  Show dependency treegraph
 
Reported: 2016-11-27 21:02 UTC by Jan Beich
Modified: 2016-11-28 09:42 UTC (History)
1 user (show)

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


Attachments
v0 (1.50 KB, patch)
2016-11-27 22:30 UTC, Jan Beich
jbeich: maintainer-approval? (office)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2016-11-27 21:02:33 UTC
In file included from lingucomponent/source/spellcheck/spell/sspellimp.cxx:34:
In file included from lingucomponent/source/spellcheck/spell/sspellimp.hxx:34:
include/linguistic/misc.hxx:75:5: error: expected '}'
    NOCAP,
    ^
/usr/local/include/hunspell/csutil.hxx:93:15: note: expanded from macro 'NOCAP'
#define NOCAP 0
              ^
include/linguistic/misc.hxx:73:1: note: to match this '{'
{
^

build log: http://sprunge.us/GNAb
culprit: https://github.com/hunspell/hunspell/commit/ab0079dc851a
Comment 2 Jan Beich freebsd_committer 2016-11-27 22:30:29 UTC
Created attachment 177465 [details]
v0

Does this look right? If so forward upstream libreoffice.
Comment 3 Jan Beich freebsd_committer 2016-11-28 09:42:38 UTC
Fixed via a patch to Hunspell port.