using macports, dap fails to compile on Lion due to redefined getline()

Shad Sterling <[email protected]> Sat, 25 Aug 2012 14:20:35 -0400
Newsgroups gmane.comp.statistics.dap.bugs
Message-ID <[email protected]>
--Apple-Mail=_0B28C6D8-B356-478C-A3D6-BFEFA1C1DD9D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


It looks like Lion introduced a new getline() in the system headers =
which conflicts with a getline() defined by dap.=20

If this can be fixed just by renaming the dap version of the function, I =
can do that myself, but I expect it'll have to get fixed at GNU to be =
able to install the fixed version using macports.  Where do I check out =
the code and how do I go about submitting a patch?

It looks like getline is a standard function, why does dap define it at =
all?  Would it be better to use the standard getline?  Would that work =
consistently across OS's?

MacPorts bug: https://trac.macports.org/ticket/35822


Shad Sterling
[email protected]




--Apple-Mail=_0B28C6D8-B356-478C-A3D6-BFEFA1C1DD9D
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)

iEYEARECAAYFAlA5F3UACgkQjsvJy61k5eCbuwCfX/vckhoXepXn3MUgRjXnN3om
s4UAn3qsf1ZAd7CEXlhbdKKV9KJDgnFA
=8kHS
-----END PGP SIGNATURE-----

--Apple-Mail=_0B28C6D8-B356-478C-A3D6-BFEFA1C1DD9D--