CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2021/02/19 20:46:49
Modified files:
misc/hfsplus : Makefile
misc/hfsplus/patches: patch-libhfsp_src_btreecheck_c
patch-libhfsp_src_fscheck_c
patch-libhfsp_src_record_c
patch-libhfsp_src_volume_c
patch-src_hpls_c
Added files:
misc/hfsplus/patches: patch-libhfsp_src_apple_h
patch-libhfsp_src_fscheck_h
patch-src_copyout_c patch-src_hpcache_c
Log message:
fix -fno-common, LP64_ARCHS, HFS+ without wrapper
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@