- add various LP64 fixes;
- use stdlib.h as needed instead of casting the return value of malloc;
- fix fake-varargs printf code and use stdarg.h;
- use system snprintf instead of included custom one;
- tidy up symbol name conflict with log();
- add patch comments;
- remove some pkglint;
- add LICENSE.
PKGREVISION -> 2.