Here is an update to jpeg 2.1.4.
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/jpeg/Makefile,v
retrieving revision 1.74
diff -u -p -u -p -r1.74 Makefile
--- Makefile 21 Mar 2022 12:58:33 -0000 1.74
+++ Makefile 27 Sep 2022 04:02:38 -0000
@@ -1,6 +1,6 @@
COMMENT= SIMD-accelerated JPEG codec replacement of libjpeg
-V= 2.1.3
+V= 2.1.4
DISTNAME= libjpeg-turbo-${V}
PKGNAME= jpeg-${V}
EPOCH= 0
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/graphics/jpeg/distinfo,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 distinfo
--- distinfo 21 Mar 2022 12:58:33 -0000 1.24
+++ distinfo 27 Sep 2022 04:02:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (libjpeg-turbo-2.1.3.tar.gz) =
RnsxCQODKwM/5WzTdyDRtzpqO9AXHb9v8LYgOF9PdtA=
-SIZE (libjpeg-turbo-2.1.3.tar.gz) = 2260756
+SHA256 (libjpeg-turbo-2.1.4.tar.gz) =
0+0moRMaE2ht/KSTXlIOt8kK52+8RdmLtQqNyGIwNCs=
+SIZE (libjpeg-turbo-2.1.4.tar.gz) = 2261822
Index: patches/patch-wrjpgcom_c
===================================================================
RCS file: /home/cvs/ports/graphics/jpeg/patches/patch-wrjpgcom_c,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 patch-wrjpgcom_c
--- patches/patch-wrjpgcom_c 21 Mar 2022 12:58:33 -0000 1.7
+++ patches/patch-wrjpgcom_c 27 Sep 2022 04:03:02 -0000
@@ -1,7 +1,7 @@
Index: wrjpgcom.c
--- wrjpgcom.c.orig
+++ wrjpgcom.c
-@@ -453,7 +453,7 @@ main(int argc, char **argv)
+@@ -438,7 +438,7 @@ main(int argc, char **argv)
(unsigned int)MAX_COM_LENGTH);
exit(EXIT_FAILURE);
}
@@ -10,7 +10,7 @@ Index: wrjpgcom.c
for (;;) {
comment_length = (unsigned int)strlen(comment_arg);
if (comment_length > 0 && comment_arg[comment_length - 1] == '"') {
-@@ -468,8 +468,8 @@ main(int argc, char **argv)
+@@ -453,8 +453,8 @@ main(int argc, char **argv)
(unsigned int)MAX_COM_LENGTH);
exit(EXIT_FAILURE);
}