| Summary: | editors/texmaker: fails to build with hunspell 1.5 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | rakuco |
| Priority: | --- | Keywords: | needs-patch |
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
| See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214849 | ||
| Bug Depends on: | |||
| Bug Blocks: | 214837 | ||
|
Description
Jan Beich
2016-11-26 11:12:05 UTC
I think the problem's actually a mismatch between that, us trying to get hunspell from ports but the code still using the bundled, old hunspell at least for headers. A commit references this bug: Author: jbeich Date: Mon Nov 28 09:16:11 UTC 2016 New revision: 427290 URL: https://svnweb.freebsd.org/changeset/ports/427290 Log: editors/texmaker: fix Hunspell ABI mismatch The port passes -I. -I/usr/local/include/hunspell ... -I/usr/local/include but then proceeds to #include "hunspell/hunspell.hxx" which ends up picking bundled version. #include "hunspell.hxx" would be more correct but would require adjusting texmaker.pro to add -I./hunspell for OS X. PR: 214848 Submitted by: rakuco MFH: 2016Q4 Changes: head/editors/texmaker/Makefile > #include "hunspell.hxx" would be more correct but would require adjusting texmaker.pro to add -I./hunspell for OS X.
Do we care about OS X? I was going to commit a patch changing the includes to <hunspell.hxx>, and I still think it's a valid addition to your commit.
> changing the includes to <hunspell.hxx>
Why add to the maintenance when there's no maintainer? Maybe send a patch upstream to rip out bundled Hunspell completely. However, I'm a bit puzzled about build glue for Windows that appears to be missing.
A commit references this bug: Author: jbeich Date: Tue Nov 29 00:50:33 UTC 2016 New revision: 427352 URL: https://svnweb.freebsd.org/changeset/ports/427352 Log: MFH: r427290 editors/texmaker: fix Hunspell ABI mismatch The port passes -I. -I/usr/local/include/hunspell ... -I/usr/local/include but then proceeds to #include "hunspell/hunspell.hxx" which ends up picking bundled version. #include "hunspell.hxx" would be more correct but would require adjusting texmaker.pro to add -I./hunspell for OS X. PR: 214848 Submitted by: rakuco Approved by: ports-secteam (junovitch) Changes: _U branches/2016Q4/ branches/2016Q4/editors/texmaker/Makefile |