Download raw body.
fix graphics/jpeg on riscv64
jpeg 3.1.4.1 needs to disable SIMD support on riscv64, otherwise it
gets lots of simd related undefined symbols at link time.
With that it builds and pases tests :
100% tests passed, 0 tests failed out of 648
no revision bump since it didn't build on that architecure before.
ok ?
Index: Makefile
===================================================================
RCS file: /cvs/OpenBSD/ports/graphics/jpeg/Makefile,v
diff -u -p -u -r1.90 Makefile
--- Makefile 7 Apr 2026 08:01:03 -0000 1.90
+++ Makefile 13 Apr 2026 21:01:57 -0000
@@ -26,7 +26,7 @@ MODULES= devel/cmake
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS= devel/nasm
.endif
-.if ${MACHINE_ARCH} == "sparc64"
+.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "riscv64"
CONFIGURE_ARGS+= -DWITH_SIMD=OFF
.endif
--
Matthieu Herrb
fix graphics/jpeg on riscv64