[MacPorts] #58520: ucommon-7.0.0 fails to build on Mac OS X 10.5 Leopard: error: 'AI_NUMERICSERV' was not declared in this scope

MacPorts noreply at macports.org
Fri May 24 18:38:45 UTC 2019


#58520: ucommon-7.0.0 fails to build on Mac OS X 10.5 Leopard: error:
'AI_NUMERICSERV' was not declared in this scope
-----------------------------+---------------------
  Reporter:  linuxjunkie999  |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:  leopard
      Port:  ucommon         |
-----------------------------+---------------------

Comment (by kencu):

 we have these examples of fixes from other ports:
 {{{
 net/kerberos5/Portfile
 51:# AI_NUMERICSERV not available for OS X < 10.6

 net/kerberos5/files/patch-src-lib-apputils-net-server.c.diff
 7:+/* AI_NUMERICSERV as a value for the `ai_flags' member
 23:+#ifndef AI_NUMERICSERV
 24:+#define AI_NUMERICSERV 0

 www/nghttp2/files/src-shrpx_config.diff
 16:+#  ifndef AI_NUMERICSERV
 17:+#   define AI_NUMERICSERV 0
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58520#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list