CVS commit: pkgsrc/graphics/libjpeg-turbo

"Ryo ONODERA" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	ryoon
Date:		Mon Aug 17 15:27:47 UTC 2026

Modified Files:
	pkgsrc/graphics/libjpeg-turbo: Makefile

Log Message:
graphics/libjpeg-turbo: Fix build under NetBSD/i386 11 and GCC 12

* Also build under NetBSD/i386 10.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/graphics/libjpeg-turbo/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 769 B)
Modified files:

Index: pkgsrc/graphics/libjpeg-turbo/Makefile
diff -u pkgsrc/graphics/libjpeg-turbo/Makefile:1.47 pkgsrc/graphics/libjpeg-turbo/Makefile:1.48
--- pkgsrc/graphics/libjpeg-turbo/Makefile:1.47	Wed Jul  8 09:50:24 2026
+++ pkgsrc/graphics/libjpeg-turbo/Makefile	Mon Aug 17 15:27:47 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2026/07/08 09:50:24 adam Exp $
+# $NetBSD: Makefile,v 1.48 2026/08/17 15:27:47 ryoon Exp $
 
 DISTNAME=	libjpeg-turbo-3.2.0
 PKGREVISION=	2
@@ -44,6 +44,10 @@ CMAKE_CONFIGURE_ARGS+=	-DWITH_SYSTEM_ZLI
 
 CHECK_PORTABILITY_SKIP+=	release/makemacpkg.in
 
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+=	-msse2
+.endif
+
 .include "../../devel/cmake/build.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.