git: fa175b94a223 - main - graphics/jpeg-turbo: enable runtime AltiVec detection

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 09 Nov 2021 18:26:35 UTC
The branch main has been updated by pkubaj:

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

commit fa175b94a223dd9bd5e23f61263c49c2f9e0bb3a
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-11-09 18:24:41 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-11-09 18:24:41 +0000

    graphics/jpeg-turbo: enable runtime AltiVec detection
    
    Enables runtime AltiVec detection, which will improve performance on powerpc,
    where AltiVec is not enabled by default.
    
    Approved by:    antoine
    PR:     259562
---
 graphics/jpeg-turbo/Makefile    | 5 +++--
 graphics/jpeg-turbo/distinfo    | 2 ++
 graphics/libjpeg-turbo/Makefile | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/graphics/jpeg-turbo/Makefile b/graphics/jpeg-turbo/Makefile
index 14bbbc70378e..514a2d2ec837 100644
--- a/graphics/jpeg-turbo/Makefile
+++ b/graphics/jpeg-turbo/Makefile
@@ -2,14 +2,15 @@
 
 PORTNAME=	jpeg-turbo
 DISTVERSION=	2.1.1
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF/lib${PORTNAME}/${DISTVERSION}
 DISTNAME=	lib${PORTNAME}-${DISTVERSION}
 
 PATCH_SITES=	https://github.com/libjpeg-turbo/libjpeg-turbo/commit/
 PATCHFILES=	173900b1cabb027495ae530c71250bcedc9925d5.patch:-p1 \
-		129f0cb76346ceede8f4d8d87dea8acb0809056c.patch:-p1
+		129f0cb76346ceede8f4d8d87dea8acb0809056c.patch:-p1 \
+		d401d6251412a2985810ffaffb90b448a6ee12a9.patch:-p1
 
 MAINTAINER=	portmgr@FreeBSD.org
 COMMENT?=	SIMD-accelerated JPEG codec which replaces libjpeg
diff --git a/graphics/jpeg-turbo/distinfo b/graphics/jpeg-turbo/distinfo
index 6615302b3bdd..2b31e42249b5 100644
--- a/graphics/jpeg-turbo/distinfo
+++ b/graphics/jpeg-turbo/distinfo
@@ -5,3 +5,5 @@ SHA256 (173900b1cabb027495ae530c71250bcedc9925d5.patch) = 68e98cdb80e989840018fd
 SIZE (173900b1cabb027495ae530c71250bcedc9925d5.patch) = 1873
 SHA256 (129f0cb76346ceede8f4d8d87dea8acb0809056c.patch) = 0d0cb4e04c52151cbd44292e7d5c3c1f9bbf230123048e18125459ee8b56cc97
 SIZE (129f0cb76346ceede8f4d8d87dea8acb0809056c.patch) = 1991
+SHA256 (d401d6251412a2985810ffaffb90b448a6ee12a9.patch) = ddc49c56ede58e2468295ef3d8a10c10afc55e02a4101b1a62ab0266ba423117
+SIZE (d401d6251412a2985810ffaffb90b448a6ee12a9.patch) = 2228
diff --git a/graphics/libjpeg-turbo/Makefile b/graphics/libjpeg-turbo/Makefile
index a749d68af2e3..b45fca3c79a9 100644
--- a/graphics/libjpeg-turbo/Makefile
+++ b/graphics/libjpeg-turbo/Makefile
@@ -1,7 +1,7 @@
 # Created by: Denis Podolskiy <bytestore@yandex.ru>
 
 PKGNAMEPREFIX=	lib
-PORTREVISION=	0
+PORTREVISION=	1
 
 COMMENT=	SIMD-accelerated JPEG codec library, provides libTurboJPEG