Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: mg(1) compatibility patches

From: Jérémie Courrèges-Anglas (jcawxcvbn.org)
Date: Fri Nov 14 2014 - 17:05:04 CST

"Kamil Rytarowski" <n54gmx.com> writes:

>> Sent: Friday, November 14, 2014 at 9:10 PM
>> From: "Ted Unangst" <tedutedunangst.com>
>> To: "Kamil Rytarowski" <n54gmx.com>
>> Cc: techopenbsd.org
>> Subject: Re: mg(1) comaptibility patches
>> On Fri, Nov 14, 2014 at 20:29, Kamil Rytarowski wrote:
>> > 0001-Define-strtonum-3-for-the-NetBSD-target.patch
>> I don't like this at all. The reason we put strtonum in libc is
>> precisely not to have multiple copies of it floating around the tree.
>> Uncompiled copies are still clutter.
>> This may be odd for a BSD system, but perhaps the pkgsrc version could
>> link against libbsd?
> Actually not as libbsd is in reality GNU/Linux-oriented.
> Other solution is to go backward for strtol(3)-like functions,
> what do you think?

There's a portable mg distribution maintained by Han Boetes. It's used
by at least twb for the Debian mg package. IIUC your use case is
pkgsrc, therefore adding compat for just NetBSD is not sufficient.

jca | PGP: 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE