thunderbolt: Fix INVARIANTS compilation
The problem is that THUNDERBOLT_DEBUG triggers the use of some
variables, but it is independent of INVARIANTS and the variables it uses
were tagged with '__diagused'.
Fix this by using '__maybe_unused' in those places.
Fixes: 183633079178 ("thunderbolt: make code -Wunused clean")
Fixes: 886164895f3f ("amd64: complete thunderbolt KERNCONF integration")
Sponsored by: The FreeBSD Foundation
xinstall: Do not allow -l and -s together
Cannot strip the target if creating a link.
Reviewed by: des
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57398
xinstall: Add test for -d -s not allowed together
Reviewed by: des
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57403
i386: Fix build (of 'genassym.o')
i386's genassym.c needs to define some assembly symbols holding the size
of NFS structures to support NFS_ROOT while booting with a nfs_diskless
structure. For this, it needs to include a few NFS headers, which
require definitions from <sys/mount.h> (fhandle_t, vfs_init_t), which
was removed by commit 72ab129799a2 ("x86: remove sys/mount.h from
genassym.c").
Since recently, <sys/mount.h> has been including <sys/vnode.h>, so needs
"vnode_if.h" to have been generated for the compilation of 'genassym.o'
not to fail. Make sure this is the case (for all architectures for
simplicity) by tweaking the rule for 'genassym.o' in
'sys/conf/kern.post.mk', leaving a comment there so that it can be
removed when i386 is dropped (or if the above-mentioned dependency is
broken).
Fixes: 72ab129799a2 ("x86: remove sys/mount.h from genassym.c")
Sponsored by: The FreeBSD Foundation
textproc/ast-grep: Add port: CLI tool for code structural search, lint and rewriting
ast-grep is an abstract syntax tree based tool to search code by
pattern code. Think of it as your old-friend grep, but matching AST
nodes instead of text. You can write patterns as if you are writing
ordinary code. It will match all code that has the same syntactical
structure. You can use $ sign + upper case letters as a wildcard,
e.g. $MATCH, to match any single AST node. Think of it as regular
expression dot ., except it is not textual.
WWW: https://ast-grep.github.io/
net-mgmt/iprange: Backport fix for 32-bit platforms
I've added it as a local patch instead of using PATCHFILES because
upstream patch touches CMakeLists.txt, which is not present on release
tarball for some unknown reason.
Obtained from: upstream 268d7d8794f3f8a6c2d6f08dc4351e767990e683
Sponsored by: Rubicon Communications, LLC ("Netgate")
mail/mblaze: Update to 1.4
Changelog: https://inbox.vuxu.org/mblaze/874iokb3sq.fsf@vuxu.org/
This 1.4 release mainly adds bugfixes and small improvements.
* mcom: $MBLAZE_EDITOR is prefered to configure the editor
* mless: support OpenBSD less without LESSOPEN
(needs mlesskey.example-openbsd)
* magrep: support multibyte regexps.
* Bug fixes.
* Documentation improvements.
PR: 295796
Submitted by: Nico Sonack <nsonack at herrhotzenplotz.de>