[MacPorts] #57969: gnutls @3.6.6 does not build on PPC Mac OS X 10.4.11, Tiger; because operator '%' has no left operand
MacPorts
noreply at macports.org
Sun Jan 27 01:16:25 UTC 2019
#57969: gnutls @3.6.6 does not build on PPC Mac OS X 10.4.11, Tiger; because
operator '%' has no left operand
------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: tiger
Port: gnutls |
------------------------+--------------------
Comment (by kencu):
The issue here seems to be that `/usr/include/stdin.h` on Tiger does not
define `__WORDSIZE`, whereas all newer versions of that header do declare
it.
For right now, you should be able to get away with defining it manually,
like this in the Portfile:
{{{
configure.cppflags-append -D__WORDSIZE=32
}}}
for a permanent fix, this is another one that should best go in the
legacy-support PG, as a rider on `stdint.h` and then it will be fixed for
all ports, forever. I'll look into that.
--
Ticket URL: <https://trac.macports.org/ticket/57969#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list