git: 6b077d7a7d13 - main - graphics/jpeg-turbo: Disable SIMD instructions on ARMv6 platforms
Daniel Engberg
diizzy at FreeBSD.org
Fri Sep 24 21:11:50 UTC 2021
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6b077d7a7d1311e91865d94b195ae374db0464c1
commit 6b077d7a7d1311e91865d94b195ae374db0464c1
Author: Daniel Engberg <diizzy at FreeBSD.org>
AuthorDate: 2021-09-24 21:01:38 +0000
Commit: Daniel Engberg <diizzy at FreeBSD.org>
CommitDate: 2021-09-24 21:10:15 +0000
graphics/jpeg-turbo: Disable SIMD instructions on ARMv6 platforms
libjpeg-turbo incorrectly assumes that SIMD instructions are
available on all ARM platforms
PR: 258685
Reported by: Martin Birgmeier
Approved by: antoine (portmgr / maintainer)
Differential Revision: https://reviews.freebsd.org/D32096
---
graphics/jpeg-turbo/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/graphics/jpeg-turbo/Makefile b/graphics/jpeg-turbo/Makefile
index a763cb824ebf..14bbbc70378e 100644
--- a/graphics/jpeg-turbo/Makefile
+++ b/graphics/jpeg-turbo/Makefile
@@ -40,10 +40,14 @@ OPTIONS_DEFINE= DOCS
BUILD_DEPENDS+= nasm:devel/nasm
.endif
+.if ${ARCH} == armv6
+CMAKE_OFF= WITH_SIMD
+.endif
+
.if ${SLAVE_PORT} == yes
PLIST_SUB+= JPEG="@comment " LIBTURBOJPEG=""
.else
-CMAKE_OFF= WITH_TURBOJPEG
+CMAKE_OFF+= WITH_TURBOJPEG
CONFLICTS_INSTALL= jpeg-[0-9]*
PLIST_SUB+= JPEG="" LIBTURBOJPEG="@comment "
.endif
More information about the dev-commits-ports-all
mailing list