editors/emacs: Unbreak build after devel/tree-sitter update
When devel/tree-sitter was updated from version 0.25.10 to 0.26.7 in
19fa3d59c58, editors/emacs failed to build due to a breaking ABI change
introduced in tree-sitter 0.26.
Fix the build by patching Emacs to call tree-sitter's new function,
ts_language_abi_version, rather than the old ts_language_version. Both
functions have the same signature.
PR: 294144
Reported by: russo at bogodyn.org
Sponsored by: The FreeBSD Foundation
www/*chromium: revert upstream commit to fix file dialog behaviour
This change reverts the following commit which neuters the Enter
key in the file dialogs by not preselecting the active button by
default because of the following joke:
+// GTK_RESPONSE_ACCEPT as the default button, which should be avoided to prevent
+// an exploit where the user is instructed to hold Enter before the dialog
+// appears.
commit e93121e97478a41d529c8586a48b4ec34173f79a
Author: Tom Anderson <thomasanderson at chromium.org>
Date: Mon Jan 5 17:42:17 2026 -0800
[GTK] Don't preselect file dialog accept buttons
(cherry picked from commit a50101eb4b6190b94c85b7cc0a0745ff44678c16)
www/*chromium: revert upstream commit to fix file dialog behaviour
This change reverts the following commit which neuters the Enter
key in the file dialogs by not preselecting the active button by
default because of the following joke:
+// GTK_RESPONSE_ACCEPT as the default button, which should be avoided to prevent
+// an exploit where the user is instructed to hold Enter before the dialog
+// appears.
commit e93121e97478a41d529c8586a48b4ec34173f79a
Author: Tom Anderson <thomasanderson at chromium.org>
Date: Mon Jan 5 17:42:17 2026 -0800
[GTK] Don't preselect file dialog accept buttons
editors/vim: Update to 9.2.0272 (security)
This update addresses GHSA-2gmj-rpqf-pxvh (see advisory link below):
Summary (from advisory):
A bug chain in Vim allows arbitrary OS command execution when a user
opens a crafted file. The tabpanel option is missing the P_MLE flag,
allowing a modeline to inject a %{expr} expression string without
requiring modelineexpr to be enabled. Although Vim correctly
evaluates the expression inside the sandbox, autocmd_add() lacks
a check_secure() call, allowing sandboxed code to register an
autocommand that fires after the sandbox exits.
Security: https://github.com/vim/vim/security/advisories/GHSA-2gmj-rpqf-pxvh
(cherry picked from commit 58d999b09c2836b4aab68748ceb27521f72a490e)
editors/vim: Update to 9.2.0272 (security)
This update addresses GHSA-2gmj-rpqf-pxvh (see advisory link below):
Summary (from advisory):
A bug chain in Vim allows arbitrary OS command execution when a user
opens a crafted file. The tabpanel option is missing the P_MLE flag,
allowing a modeline to inject a %{expr} expression string without
requiring modelineexpr to be enabled. Although Vim correctly
evaluates the expression inside the sandbox, autocmd_add() lacks
a check_secure() call, allowing sandboxed code to register an
autocommand that fires after the sandbox exits.
Security: https://github.com/vim/vim/security/advisories/GHSA-2gmj-rpqf-pxvh
misc/far2l: update Far2L to version 2.8.0 (nothing except)
- New ImageViewer plugin (requires ImageMagick and/or FFmpeg,
please install them as needed)
- Disable AppStream metainfo generation to avoid pulling
additional dependencies and because its usefulness on
FreeBSD is doubtful (yet keep the @comment in pkg-plist)
- Prune empty directories and fix WEBDAV_DESC while here
Reported by: portscout
sysutils/qdirstat: fix build on armv7
The operator << of the LogStream class is used to output numerical
values among other things. The port tries to output a value of type
unsigned long long on armv7, while presumably not doing so on other
platforms. Add an overload for unsigned long long to fix the build.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
(cherry picked from commit 09d59b2140bc16c125dbee5e007d0766c1aaa63d)