misc/hfsplus is old code from 2002; failed to build with -fno-common;
assumed sizeof(long) == 4, which is wrong on LP64_ARCHS; failed when
the HFS+ has no HFS wrapper. Thaison Nguyen reported that hpmount
always gave an error.
- Simplify Makefile by setting AUTORECONF.
- Fix LP64_ARCHS by changing UInt32 and like types from long to int.
Change many "%ld" to "%d" in printf()s to match.
- Apply a patch from Gentoo to fix -fno-common.
- Fix HFS+ with no HFS wrapper by setting vol->maxblocks.
- In src/copyout.c, fix passing &size to int *lenptr.
ok tb@