This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
Changes include:
- fix use-after-free
- fix dependency on inputproto
- XListFontsWithInfo
- avoid calling callbacks to applications with holding the display lock
- fix leaks in XKB
- fix compose entries in the NLS lists
- fix display locking in XKB
- fix double open of compose file
- fallback to unix domain or TCP connections, when the local connection
failed
Note that XCB is currently not active as I don't think it is currently
useful or stable enough.
This is the libX11 library that is the C binding to the X protocol. It
is the foundation of practically every X Window System program out there.
This is from the modular X.org X11 project.