[PATCHES] Compile on linux with musl libc

Felix Janda felix.janda at posteo.de
Tue May 19 20:05:50 UTC 2015


Hello,

in order to compile on linux systems with musl libc [1] two changes to
the source are necessary. Corresponding patches are attached.

First VC_MUSIC is enabled by default on linux and in dial.c the
necessary header are only included for glibc. (The wrong conditional
include has likely been introduced by the 2003-03-30 GNU/Hurd patch.)

Secondly, MAXNAMLEN is usually defined in <sys/param.h> but it is
better to use the equivalent POSIX NAME_MAX.

Thanks,
Felix

[1]: http://musl-libc.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dial.patch
Type: text/x-patch
Size: 354 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20150519/7da9d94a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: namemax.patch
Type: text/x-patch
Size: 1291 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20150519/7da9d94a/attachment-0001.bin>


More information about the minicom-devel mailing list