Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2021 21:11:48 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6b077d7a7d13 - main - graphics/jpeg-turbo: Disable SIMD instructions on ARMv6 platforms
Message-ID:  <202109242111.18OLBmx9003705@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b077d7a7d1311e91865d94b195ae374db0464c1

commit 6b077d7a7d1311e91865d94b195ae374db0464c1
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2021-09-24 21:01:38 +0000
Commit:     Daniel Engberg <diizzy@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109242111.18OLBmx9003705>