[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
Tue Jul 5 08:09:43 PDT 2016
#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: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: powerpc tiger
Port: libassuan |
------------------------------+--------------------------------
Comment (by kenneth.f.cunningham@…):
Hi,
I fixed this a few months back by adding the definition directly to
assuan-socket.c -- it all compiled after that, and the port that requested
it (which I don't recall just now) seems to work OK.
{{{
/* assuan-socket.c - Socket wrapper
Copyright (C) 2004, 2005, 2009 Free Software Foundation, Inc.
Copyright (C) 2001-2015 g10 Code GmbH
This file is part of Assuan.
*/
//Kenhack
#define INADDR_LOOPBACK (u_int32_t)0x7f000001
}}}
--
Ticket URL: <https://trac.macports.org/ticket/51708#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list