graphics/jpeg-turbo: Apply upstream patch to fix riscv64

Architectures like riscv64 where WITH_SIMD takes its default value of 1
but the SIMD detection finds no support (due to, in the case of 3.1.4.1
for riscv64, there being no RVV support at all) were broken as they
would still try to build simdcoverage and fail to link it. Apply the
upstream fix from the 3.1.x branch.

PR: 296754
Reviewed by: desktop (arrowd)
Approved by: desktop (arrowd)
MFH: 2026Q3
devel/cvise: make it build with DEFAULT_VERSIONS+=llvm=22

Upstream cvise added support for building against llvm 22 in:
<https://github.com/marxin/cvise/commit/42da06f>
<https://github.com/marxin/cvise/commit/59e9058>
<https://github.com/marxin/cvise/commit/fa1be95>
<https://github.com/marxin/cvise/commit/b17bbac>
<https://github.com/marxin/cvise/commit/c7f9642>

Add these as PATCHFILES, and use a similar approach for the llvm 21
patch.

PR: 296376
Approved by: maintainer timeout (2 weeks)
MFH: 2026Q3
Page generated Jul. 13th, 2026 07:16 pm
Powered by Dreamwidth Studios

Style Credit