Really import mdocml version 1.12.3 and not a preliminary tarball.
Fix the host mode ISOCHRONOUS transfer interval programming in the
SAF1761 OTG driver. Currently the driver logic is very simple and
double buffering the USB transactions is not done.  Also you need to
use an external USB high speed USB HUB for reliable FULL speed
outgoing ISOCHRONOUS traffic, because the internal one chokes on
so-called split transfers above 188 bytes.
By the time that vm_reserv_init() runs, vm_phys_segs[] is initialized.  Use
it instead of phys_avail[].

Discussed with:	Svatopluk Kraus
Import mandoc 1.13.1
The size value should be asserted when it is known.

Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
Retire old, transition code for managing the FreeBSD 5 -> 6 migration.
Update mandoc to 1.13.1
Add missing dependencies on pthread (sqlite being built with threadsafety on)
Update sqlite3 to 3.8.7.2
Promote SQLite3 as a privatelib as it will also be used by mandoc

While here ensure sqlite3 is using pread(2) and enable the suppot for FTS4
Forgot to update libmandoc
Add missing bits svn merge did not catch
There never was a PC Card joystick attachment that worked. Kill the
current stub one until such time as one shows up.
Rework makefile in something closer to upstream Makefile to ease maintainance
Rework mandoc Makefile to ease maintainance
Add compat_reallocarray into libmandoc given other mandoc components will use
it.
Add the preconv utility from mandoc project

it recodes multibyte UNIX manual files into mandoc(1)
Define LIBSQLITE3 and LIBMANDOC
Add the demandoc utility from the mandoc project

This is a modern version of the deroff utility, useful for example to do
spellchecking on manpages
Lower warning to allow building with gcc
Lower warnings to fix build with gcc