I've attached our proposed patch for enabling MySQL to be built using
the Linux Standard Base (LSB) SDK, resulting in LSB-compliant binaries.
The patch addresses four issues we've found:
- The sigset_t definition is supposed to be found in signal.h, so use
that header file when looking for it in configure.
- isnan() may be a macro, just as isinf() may be, so look for it in
configure the same way.
- _POSIX_PATH_MAX isn't available; use PATH_MAX instead.
- getdtablesize() is not available, so I have provided a local
replacement. Since getdtablesize() is defined in terms of sysconf() and
getrlimit(), it should be an exact equivalent.
Per the submission policy, I've filed bug 29274, and attached the patch
there as well.
Attachment: [text/x-patch] mysql-lsb.patch