From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> also see github pull request #282 https://github.com/karelzak/util-linux/pull/282 This is a the first chunk of arbitrary cleanups and build fixes mainly tested on OSX and FreeBSD. FYI here I have some OSX build logs (with some more hacks included). Maybe there are some interesting warnings to fix. https://travis-ci.org/rudimeier/util-linux/builds/110071732 Ruediger Meier (15): travis: minor cleanup build-sys: portable usage of find command build-sys: check linker support for version scripts build-sys: fix [g]libtoolize version for OSX tests: fix ts_option helpers lib: rename strmode() and setmode() include: provide MAP_ANONYMOUS on OSX lib: define LOGIN_NAME_MAX fallback include: check for sys/sysmacros.h include: remove unused mntent.h lsns: use xcalloc() lib: remove unused variable lib: fix ismounted includes for FreeBSD libblkid: don't include endian.h include: fix sys/sysinfo.h .travis-functions.sh | 31 +++----- .travis.yml | 2 + autogen.sh | 2 +- configure.ac | 6 ++ disk-utils/fsck.cramfs.c | 10 +++ disk-utils/fsck.minix.c | 1 - disk-utils/mkfs.cramfs.c | 8 ++ disk-utils/mkfs.minix.c | 1 - disk-utils/mkswap.c | 1 - disk-utils/raw.c | 2 + include/strutils.h | 2 +- lib/blkdev.c | 1 - lib/idcache.c | 4 + lib/ismounted.c | 11 ++- lib/monotonic.c | 2 + lib/strutils.c | 2 +- lib/timer.c | 1 - libblkid/src/Makemodule.am | 4 +- libblkid/src/superblocks/drbdmanage.c | 2 +- libfdisk/src/Makemodule.am | 4 +- libmount/src/Makemodule.am | 4 +- libsmartcols/samples/tree.c | 2 +- libsmartcols/src/Makemodule.am | 4 +- libuuid/src/Makemodule.am | 4 +- login-utils/login.c | 2 + login-utils/sulogin.c | 9 +++ m4/ax_check_vscript.m4 | 142 ++++++++++++++++++++++++++++++++++ misc-utils/lsblk.c | 2 +- misc-utils/namei.c | 6 +- sys-utils/lsipc.c | 6 +- sys-utils/lsns.c | 4 +- tests/functions.sh | 6 +- tests/run.sh | 11 ++- tests/ts/build-sys/config | 2 +- tests/ts/cramfs/mkfs | 2 +- text-utils/ul.c | 10 +-- tools/checkmans.sh | 2 +- 37 files changed, 253 insertions(+), 62 deletions(-) create mode 100644 m4/ax_check_vscript.m4 -- 1.8.4.5 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html