FreeBSD/ports e39175bcad/freecad-devel Makefile

cad/freecad-devel: Add reference to PR293303

I forgot to mention the PR

PR:             293303
Reported by:    Thierry Thomas
DeltaFile
+1-1cad/freecad-devel/Makefile
+1-11 files

FreeBSD/ports b01beecdevel/spirv-llvm-translator/files.llvm12 patch-clang21

devel/spirv-llvm-translator: unbreak llvm12 flavor with clang 21

With clang 21 the llvm12 flavor of devel/spirv-llvm-translator fails to
build, with errors similar to:

    In file included from /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/OCLTypeToSPIRV.cpp:44:
    In file included from /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/OCLUtil.h:42:
    In file included from /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/SPIRVInternal.h:43:
    In file included from /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/SPIRVEnum.h:44:
    In file included from /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/SPIRVOpCode.h:45:
    /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/spirv_internal.hpp:120:31: error: constexpr variable 'FunctionControlOptNoneINTELMask' must be initialized by a constant expression
      120 | constexpr FunctionControlMask FunctionControlOptNoneINTELMask =
          |                               ^
      121 |     static_cast<FunctionControlMask>(IFunctionControlOptNoneINTELMask);
          |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/spirv_internal.hpp:121:5: note: integer value 65536 is outside the valid range of values [0, 15] for the enumeration type 'FunctionControlMask'
      121 |     static_cast<FunctionControlMask>(IFunctionControlOptNoneINTELMask);
          |     ^


    [10 lines not shown]
DeltaFile
+34-0devel/spirv-llvm-translator/files.llvm12/patch-clang21
+34-01 files

FreeBSD/ports 90f512cdevel/spirv-llvm-translator Makefile

devel/spirv-llvm-translator: split port patches by flavor

Add patches to files.llvm*/ instead of files/ subdirectory.
For now, it lacks support for patches common to all flavors.

PR:             293293
(cherry picked from commit a93fd63ae97f7bb7737ede009224b492545f0e95)
DeltaFile
+7-0devel/spirv-llvm-translator/Makefile
+7-01 files

FreeNAS/freenas 6054965src/middlewared/middlewared/alembic/versions/26.0 2026-02-19_15-29_webshare_bindip.py, src/middlewared/middlewared/api/v26_0_0 webshare.py

NAS-139191 / 26.0.0-BETA.1 / Bind interface for webshare (#18194)

DeltaFile
+32-0src/middlewared/middlewared/alembic/versions/26.0/2026-02-19_15-29_webshare_bindip.py
+18-1src/middlewared/middlewared/plugins/webshare/config.py
+12-0src/middlewared/middlewared/api/v26_0_0/webshare.py
+3-1src/middlewared/middlewared/etc_files/webshare-auth/config.json.py
+65-24 files

LLVM/project acc15fbllvm/lib/Analysis CMakeLists.txt

[CMake][LLVM] Disable PCH on MSVC for file with custom flags

See: https://github.com/llvm/llvm-project/pull/176420
DeltaFile
+2-0llvm/lib/Analysis/CMakeLists.txt
+2-01 files

FreeBSD/ports d50aa61devel/spirv-llvm-translator/files.llvm12 patch-clang21

devel/spirv-llvm-translator: unbreak llvm12 flavor with clang 21

With clang 21 the llvm12 flavor of devel/spirv-llvm-translator fails to
build, with errors similar to:

    In file included from /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/OCLTypeToSPIRV.cpp:44:
    In file included from /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/OCLUtil.h:42:
    In file included from /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/SPIRVInternal.h:43:
    In file included from /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/SPIRVEnum.h:44:
    In file included from /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/SPIRVOpCode.h:45:
    /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/spirv_internal.hpp:120:31: error: constexpr variable 'FunctionControlOptNoneINTELMask' must be initialized by a constant expression
      120 | constexpr FunctionControlMask FunctionControlOptNoneINTELMask =
          |                               ^
      121 |     static_cast<FunctionControlMask>(IFunctionControlOptNoneINTELMask);
          |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /wrkdirs/usr/ports/devel/spirv-llvm-translator/work-llvm12/SPIRV-LLVM-Translator-12.0.1/lib/SPIRV/libSPIRV/spirv_internal.hpp:121:5: note: integer value 65536 is outside the valid range of values [0, 15] for the enumeration type 'FunctionControlMask'
      121 |     static_cast<FunctionControlMask>(IFunctionControlOptNoneINTELMask);
          |     ^


    [9 lines not shown]
DeltaFile
+34-0devel/spirv-llvm-translator/files.llvm12/patch-clang21
+34-01 files

FreeBSD/ports a93fd63devel/spirv-llvm-translator Makefile

devel/spirv-llvm-translator: split port patches by flavor

Add patches to files.llvm*/ instead of files/ subdirectory.
For now, it lacks support for patches common to all flavors.

PR:             293293
DeltaFile
+7-0devel/spirv-llvm-translator/Makefile
+7-01 files

FreeNAS/freenas cb2cfcbsrc/middlewared/middlewared/plugins network.py

remove unnecessary get_instance call
DeltaFile
+3-6src/middlewared/middlewared/plugins/network.py
+3-61 files

LLVM/project 20dba97llvm/lib/Target/AMDGPU AMDGPU.td GCNSubtarget.h, llvm/test/CodeGen/AMDGPU si-pre-allocate-wwm-regs.mir

[AMDGPU] Add target features to guard DPP controls (#182391)

This patch adds target features:
- `+dpp-wavefront-shifts`, for DPP `wave_shl/rol/shr/ror`
- `+dpp-row-bcast`, for DPP `row_bcast15/31`

These DPP controls are not available in gfx10+, so these target features
enable `AMDGPURemoveIncompatibleFunctions` to remove functions that rely
on these controls when compiling for newer GPUs.
DeltaFile
+11-2llvm/lib/Target/AMDGPU/AMDGPU.td
+4-4llvm/test/CodeGen/AMDGPU/si-pre-allocate-wwm-regs.mir
+0-6llvm/lib/Target/AMDGPU/GCNSubtarget.h
+2-2llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+2-0llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
+19-145 files

FreeNAS/freenas 5e510ccdocs/source/middleware etc_files.rst, src/middlewared/middlewared/etc_files README.md

Convert etc plugin to using dataclasses

This commit robustizes how we manage config file generation
through the middleware plugin by ensuring that directives for
how to render different configuration file groups are using
properly typed python data classes. This reduces risk of
developer having a typo in the configuration.
DeltaFile
+466-400src/middlewared/middlewared/plugins/etc.py
+22-18docs/source/middleware/etc_files.rst
+22-18src/middlewared/middlewared/etc_files/README.md
+510-4363 files

FreeBSD/ports ce67ec4cad/freecad-devel pkg-plist Makefile.git_rev

cad/freecad-devel: update and fix build

Add a dependency on devel/py-lark to fix the build and while there
update to 1.2.dev as of 2026.02.20
DeltaFile
+82-25cad/freecad-devel/pkg-plist
+3-3cad/freecad-devel/Makefile.git_rev
+3-3cad/freecad-devel/distinfo
+1-0cad/freecad-devel/Makefile
+89-314 files

LLVM/project f414c72clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeSafety.h, clang/include/clang/Basic DiagnosticGroups.td DiagnosticSemaKinds.td

Reorganise permissive and strict diagnostic groups
DeltaFile
+59-12clang/include/clang/Basic/DiagnosticGroups.td
+10-15clang/lib/Sema/AnalysisBasedWarnings.cpp
+9-12clang/include/clang/Basic/DiagnosticSemaKinds.td
+9-9clang/test/Sema/warn-lifetime-safety.cpp
+2-0clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeSafety.h
+89-485 files

LLVM/project 32d5e54llvm/include/llvm/Support GenericDomTreeConstruction.h, llvm/unittests/Analysis DomTreeUpdaterTest.cpp

domtree
DeltaFile
+220-0llvm/unittests/Analysis/DomTreeUpdaterTest.cpp
+5-2llvm/include/llvm/Support/GenericDomTreeConstruction.h
+225-22 files

LLVM/project f7e1b42llvm/include/llvm/Support GenericDomTreeConstruction.h

[NFC] `clang-format` GenericDomTreeConstruction.h
DeltaFile
+88-65llvm/include/llvm/Support/GenericDomTreeConstruction.h
+88-651 files

LLVM/project 98f0b6fclang/include/clang/AST Expr.h

[Clang][AST][NFC] Correct Comment in GenericSelectionExpr (#180850)

Correct a misleading comment about the number/type of trailing objects
in the GenericSelectionExpr.
DeltaFile
+8-6clang/include/clang/AST/Expr.h
+8-61 files

FreeNAS/freenas c1d5baasrc/middlewared/middlewared/api/base/handler result.py, src/middlewared/middlewared/pytest/unit/api/handler/result test_secret.py

NAS-139896 / 25.10.2.1 / Also handle pydantic `ValidationError` in `serialize_result` (by themylogin) (#18255)

Follow-up to https://ixsystems.atlassian.net/browse/NAS-138408

Ensure fallback mechanism is properly toggled when stripping secrets on
invalid schemas.
Prevents crash observed in
[NAS-139892](https://ixsystems.atlassian.net/browse/NAS-139892) (no
security exposure).

Original PR: https://github.com/truenas/middleware/pull/18252

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+32-1src/middlewared/middlewared/pytest/unit/api/handler/result/test_secret.py
+3-1src/middlewared/middlewared/api/base/handler/result.py
+35-22 files

LLVM/project e9c658flldb/test/Shell/SymbolFile/DWARF delayed-definition-die-searching.test

[lldb][test] delayed-definition-die-searching.test: compile without simple template names

Fails on Darwin after we made `-gsimple-template-names` the default (in https://github.com/llvm/llvm-project/pull/182297):
```
13:42:19  | # CHECK: DWARFASTParserClang::ParseTypeFromDWARF{{.*}}DW_TAG_structure_type (DW_TAG_structure_type) name = 't2<t1>'
13:42:19  |          ^
13:42:19  | <stdin>:9:12: note: scanning from here
13:42:19  | (lldb) p v1
13:42:19  |            ^
13:42:19  | <stdin>:10:278: note: possible intended match here
13:42:19  |  (arm64) /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake-os-verficiation/lldb-build/tools/lldb/test/Shell/SymbolFile/DWARF/Output/delayed-definition-die-searching.test.tmp.out: DWARFASTParserClang::ParseTypeFromDWARF (die = 0x0000000000000037, decl_ctx = 0x0000000B723D2030 (die 0x000000000000000c)) DW_TAG_structure_type (DW_TAG_structure_type) name = 't2')
13:42:19  |
```

This just checks the delayed definition search. It used to always run without `-gsimple-template-names`, so we're not losing coverage here. Also the failure is expected with `-gsimple-template-names` because the DIE name no longer include template parameters. I didn't want to make the `CHECK` less strict because it useful to check that the types being resolved are the correct instantiations.
DeltaFile
+1-1lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
+1-11 files

LLVM/project 21e1a30llvm/cmake/modules HandleLLVMOptions.cmake

Re-enable MSVC C4091 diagnostic; NFC (#182500)

From MSDN:

https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4091?view=msvc-170

> 'keyword': ignored on left of 'type' when no variable is declared

This diagnostic was disabled in 0cba642a05ad0675f313e55fce29ce5273340a59
because the diagnostic was being hit in system headers under MSVC 2015.
That no longer appears to be the case from my local testing; this
diagnostic does not appear to be emitted.
DeltaFile
+0-1llvm/cmake/modules/HandleLLVMOptions.cmake
+0-11 files

NetBSD/pkgsrc-wip ee59c19librewolf distinfo Makefile

librewolf: update to 147.0.4-1
DeltaFile
+3-3librewolf/distinfo
+2-2librewolf/Makefile
+5-52 files

LLVM/project d3443fdllvm/test/Analysis/DependenceAnalysis exact-rdiv-addrec-wrap.ll weak-crossing-siv-addrec-wrap.ll

[DA] Add tests for dependencies are missed due to addrecs wrap (NFC) (#179683)

Add test cases where dependencies are missed since nowrap properties of
addrecs are not checked properly. This patch doesn't contain test cases
for the MIV tests.
DeltaFile
+79-0llvm/test/Analysis/DependenceAnalysis/exact-rdiv-addrec-wrap.ll
+78-0llvm/test/Analysis/DependenceAnalysis/weak-crossing-siv-addrec-wrap.ll
+71-0llvm/test/Analysis/DependenceAnalysis/exact-siv-addrec-wrap.ll
+71-0llvm/test/Analysis/DependenceAnalysis/strong-siv-addrec-wrap.ll
+69-0llvm/test/Analysis/DependenceAnalysis/symbolic-rdiv-addrec-wrap.ll
+368-05 files

FreeNAS/freenas e69f021src/middlewared/middlewared/api/base/handler result.py, src/middlewared/middlewared/pytest/unit/api/handler/result test_secret.py

Also handle pydantic `ValidationError` in `serialize_result`

(cherry picked from commit 0c502687aa9fb499e150f466828dac9ce25f4c2e)
DeltaFile
+32-1src/middlewared/middlewared/pytest/unit/api/handler/result/test_secret.py
+3-1src/middlewared/middlewared/api/base/handler/result.py
+35-22 files

FreeNAS/freenas 7d85ccfsrc/middlewared/middlewared/api/base/handler result.py, src/middlewared/middlewared/pytest/unit/api/handler/result test_secret.py

NAS-139896 / 26.0.0-BETA.1 / Also handle pydantic `ValidationError` in `serialize_result` (#18252)

Follow-up to https://ixsystems.atlassian.net/browse/NAS-138408

Ensure fallback mechanism is properly toggled when stripping secrets on
invalid schemas.
Prevents crash observed in
[NAS-139892](https://ixsystems.atlassian.net/browse/NAS-139892) (no
security exposure).
DeltaFile
+32-1src/middlewared/middlewared/pytest/unit/api/handler/result/test_secret.py
+3-1src/middlewared/middlewared/api/base/handler/result.py
+35-22 files

LLVM/project c23d840llvm/lib/Transforms/Scalar LoopInterchange.cpp

address review comments
DeltaFile
+16-2llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+16-21 files

FreeNAS/freenas 9538338src/middlewared/middlewared/plugins/interface/netif_linux/address netlink.py

NAS-139889 / 25.10.2.1 / add missing DumpInterrupted exception (#18253)

While fixing memory leaks in the network library, this error condition
was omitted which means the retry loop in list_interface_states() will
not get executed because a generic NetlinkError is raised instead of the
proper DumpInterrupted.
DeltaFile
+2-0src/middlewared/middlewared/plugins/interface/netif_linux/address/netlink.py
+2-01 files

OpenBSD/ports zb84X4alang/go go.port.mk

   Bump _MODGO_SYSTEM_VERSION for lang/go 1.25.7.
VersionDeltaFile
1.96+1-1lang/go/go.port.mk
+1-11 files

OpenBSD/ports YpLV8Nrlang/go distinfo Makefile

   Update lang/go to 1.25.7.
VersionDeltaFile
1.114+2-2lang/go/distinfo
1.174+1-1lang/go/Makefile
+3-32 files

LLVM/project 044ff0fllvm/cmake/modules HandleLLVMOptions.cmake

Re-enable MSVC C4204 diagnostic; NFC (#182491)

From MSDN:

https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4204?view=msvc-170

> nonstandard extension used : non-constant aggregate initializer

This is an ANSI compatibility diagnostic which isn't useful for us to
disable. In my local testing, this diagnostic is not emitted.
DeltaFile
+0-1llvm/cmake/modules/HandleLLVMOptions.cmake
+0-11 files

FreeNAS/freenas 8d166c7src/middlewared/middlewared/api/v25_10_0 smb.py, src/middlewared/middlewared/api/v25_10_1 smb.py

NAS-139892 / 25.10.2.1 / Remove LEGACY_SHARE validation for path_suffix (by anodos325) (#18254)

Prior to 25.10 we did not validate what users were putting as
a path_suffix in SMB shares that supported them. When the new
schema was added, a common path suffix type was used to limit
users to what is safe or makes sense.
    
Among specific items excluded were:
* Options that were under the client's control rather than
    the server's control. Allowing clients to partially
    dictate the share path can create an incorrect impression
    of enhanced security because admin may not realize that
    the client can change these.
    
* Options that often will break path creation or the ability
    to auto-create ZFS datasets based on the naming schema
    generated by the macro expansion.
    
This commit removes the path suffix validation from the

    [5 lines not shown]
DeltaFile
+20-0tests/api2/test_420_smb.py
+1-1src/middlewared/middlewared/api/v25_10_2/smb.py
+1-1src/middlewared/middlewared/api/v25_10_0/smb.py
+1-1src/middlewared/middlewared/api/v25_10_1/smb.py
+23-34 files

FreeNAS/freenas c9f6336src/middlewared/middlewared/api/v25_10_0 smb.py, src/middlewared/middlewared/api/v25_10_1 smb.py

NAS-139892 / 26.0.0-BETA.1 / Remove LEGACY_SHARE validation for path_suffix (#18251)

Prior to 25.10 we did not validate what users were putting as
a path_suffix in SMB shares that supported them. When the new
schema was added, a common path suffix type was used to limit
users to what is safe or makes sense.

Among specific items excluded were:
* Options that were under the client's control rather than
    the server's control. Allowing clients to partially
    dictate the share path can create an incorrect impression
    of enhanced security because admin may not realize that
    the client can change these.

* Options that often will break path creation or the ability
    to auto-create ZFS datasets based on the naming schema
    generated by the macro expansion.

This commit removes the path suffix validation from the

    [3 lines not shown]
DeltaFile
+20-0tests/api2/test_420_smb.py
+1-1src/middlewared/middlewared/api/v25_10_0/smb.py
+1-1src/middlewared/middlewared/api/v25_10_1/smb.py
+1-1src/middlewared/middlewared/api/v25_10_2/smb.py
+23-34 files

LLVM/project 95a960dllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 compare-node-with-reuses.ll

[SLP]Do not convert inversed cmp nodes, if they reordered/reused

If the cmp node with inversed compares must be reordered/shuffled with
the reuses, disable transformation for such nodes for now, they require
some special processing.

Fixes https://github.com/llvm/llvm-project/pull/181580#issuecomment-3933026221
DeltaFile
+3-2llvm/test/Transforms/SLPVectorizer/X86/compare-node-with-reuses.ll
+2-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+5-22 files