xview is abusing FILE, by making its own in order to coerce vfscanf to
give it stuff it shouldn't.
This is absolutely awful code. The clean way would be to duplicate the
vfscanf code there. But hey, C doesn't have stringstreams, so it must
suffer.
Fix independently reinvented, looks a lot like NetBSD's.
Tweak the extras_menus recognition code lightly:
- the redefine part is broken, as the filename has a full path.
- let the fallback work, e.g., go to /usr/local/lib instead of /usr/lib.
Cleaned up so that lib depends on config:build, and lndir it
instead of mucking with the source dir.
All patches put into config/patches, separated and renamed
(yes, this is a LARGE fucker).
Fake
xview/clients to come.
Currently installs under /usr/X11R6, some more patches to X needed to fix
that.