[MacPorts] #51708: libassuan @2.4.2 does not build on PPC Tiger, Mac OS X 10.4.11 because of macro INADDR_LOOPBACK inside #ifndef _POSIX_C_SOURCE

MacPorts noreply at macports.org
Wed Jan 4 21:01:43 UTC 2017


#51708: libassuan @2.4.2 does not build on PPC Tiger, Mac OS X 10.4.11 because of
macro INADDR_LOOPBACK inside #ifndef _POSIX_C_SOURCE
------------------------+---------------------------
  Reporter:  ballapete  |      Owner:  larryv
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:             |   Keywords:  powerpc tiger
      Port:  libassuan  |
------------------------+---------------------------

Comment (by kencu):

 I think it's not fixed in the original source -- I suspect you're using my
 patch still. It's still manually applied, as it has not been accepted into
 macports. Perhaps it can be sent upstream as a patch to added to assuan-
 socket.c, something like this, maybe:

 {{{
 #fix missing define in MacOSX 10.4 Tiger
 #ifndef INADDR_LOOPBACK
   #define INADDR_LOOPBACK (u_int32_t)0x7f000001
 #endif
 }}}

 perhaps they might be receptive.

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


More information about the macports-tickets mailing list