[MacPorts] #54466: gindent @2.2.11: build fails
MacPorts
noreply at macports.org
Wed Aug 23 19:29:55 UTC 2017
#54466: gindent @2.2.11: build fails
-------------------------+----------------------
Reporter: mndavidoff | Owner: larryv
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gindent |
-------------------------+----------------------
Comment (by gnw3):
The problem is that {{{lexi.c}}} has two prototypes copied from files
generated using {{{gperf}}}. Linux distros have forked {{{gindent}}} to
fix bugs and upstream hasn't been active for a long time. {{{gperf}}} is
partly to blame for not providing more easily maintained interfaces, but
if you don't make your own dogfood you eat what you get.
A workaround is to start the build, and when it fails, run {{{sudo -u
macports vi $(port dir gindent)/work/indent*/src/lexi.c}}} to replace
{{{unsigned int}}} with {{{size_t}}} in the two
problem lines. Atfer that the build and install should work.
--
Ticket URL: <https://trac.macports.org/ticket/54466#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list