Strangely, groff accepts .ll arguments with multiple signs. For odd numbers
of minus signs, the intended behaviour is decreasing the line length, for
even numbers, increasing it. The code in term_setwidth() resulted in
incorrect behaviour in two cases: for more than two signs, the line length
wasn't changed at all because a2roffsu() was called incorrectly and failed,
and if the second sign was negative, a negative width was passed to the
setwidth() callbacks, which they aren't prepared to handle.
Fix this by iterating over all signs to find the correct iop operation
code (0=absolute, 1=increase, -1=decrease). Also improve code clarity
by making the width argument of the setwidth() callbacks unsigned and
removing some ugly casts in these callbacks.
MFC: Update to cargo-audit 0.22.0, from Bryce Chidester
Tweak by me: set DISTNAME rather than PKGNAME so we don't need to set
WRKSRC and the curent_exe patch no longer includes cargo-audit-${V} in
its path, so we don't need to rename it on every update.
(backported to stable since 0.21.2 is broken because the database now
uses CVSS v.4.0)
Update to cargo-audit 0.22.0, from Bryce Chidester
Tweak by me: set DISTNAME rather than PKGNAME so we don't need to set
WRKSRC and the curent_exe patch no longer includes cargo-audit-${V} in
its path, so we don't need to rename it on every update.
This patch adds an apple variant to the de keyboard encoding for
wskdb. It doesn't attempt to map all additional keysyms, only those that
are required in the shell and for programming.
It is similar to the applealu_iso variant that can be specified in X11
with setxkbmap.
ok miod@
Set _BSD_SOURCE=1 via CFLAGS to ensure BSD functions remain visible.
os.h sets _XOPEN_SOURCE and with that functions like strcasestr() no
longer show up and with that compilers do silly things.
The build system is so arcane that it seems best to just pass
-D_BSD_SOURCE=1 via CFLAGS to override the _XOPEN_SOURCE exclude.
With this CFLAGS_base-clang is no longer needed.
OK sthen@ tb@