[MacPorts] #46968: opusfile @0.6 does not build on 10.5.8
MacPorts
noreply at macports.org
Wed Feb 25 13:55:52 PST 2015
#46968: opusfile @0.6 does not build on 10.5.8
--------------------+--------------------------------
Reporter: hans@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: opusfile
--------------------+--------------------------------
On MacOSX 10.5.8, audio/opusfile does not build,
because this version of MacOSX does not have AI_NUMERICSERV defined,
and src/http.c fails to compile.
{{{
:info:build src/http.c: In function 'op_resolve':
:info:build src/http.c:725: error: 'AI_NUMERICSERV' undeclared (first use
in this function)
}}}
It appears exactly once:
{{{
#if !defined(_WIN32)
hints.ai_flags=AI_NUMERICSERV;
#endif
}}}
What's the right thing to do here?
Can we just drop these three lines on older darwins?
(Does someone know when exactly AI_NUMERICSERV
became #defined in MacOSX's netdb.h?)
Another solution is to just --disable-http
for the appropriate darwin versions,
which seems like overkill.
--
Ticket URL: <https://trac.macports.org/ticket/46968>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list