pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/libjpeg-turbo



Module Name:    pkgsrc
Committed By:   spz
Date:           Sun May 31 09:40:08 UTC 2026

Modified Files:
        pkgsrc/graphics/libjpeg-turbo: distinfo
Added Files:
        pkgsrc/graphics/libjpeg-turbo/patches: patch-simd_CMakeLists.txt

Log Message:
build fix for cpu-types not supporting simd taken from
https://github.com/libjpeg-turbo/libjpeg-turbo/commit/7cdbf9144d40d68d97c498f54dd88a68aee4e36d

Fixes PR pkg/60301


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/graphics/libjpeg-turbo/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/libjpeg-turbo/patches/patch-simd_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/libjpeg-turbo/distinfo
diff -u pkgsrc/graphics/libjpeg-turbo/distinfo:1.37 pkgsrc/graphics/libjpeg-turbo/distinfo:1.38
--- pkgsrc/graphics/libjpeg-turbo/distinfo:1.37 Wed Apr  1 08:49:01 2026
+++ pkgsrc/graphics/libjpeg-turbo/distinfo      Sun May 31 09:40:07 2026
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.37 2026/04/01 08:49:01 tnn Exp $
+$NetBSD: distinfo,v 1.38 2026/05/31 09:40:07 spz Exp $
 
 BLAKE2s (libjpeg-turbo-3.1.4.1.tar.gz) = 4563273544a3c7ada586875174553bd8edf94499b0ebcf1c447eb27990e7c992
 SHA512 (libjpeg-turbo-3.1.4.1.tar.gz) = 5c67fa6a528e35963736e0361ae6952f6f253b74cd31e8795de60a80287b123c4f35a333ca03934011b01f72110c13b26d13320fce2969287428cebde153c730
 Size (libjpeg-turbo-3.1.4.1.tar.gz) = 2528617 bytes
 SHA1 (patch-CMakeLists.txt) = ed81aa8def09bd03ff0c0a31ef2d7cac0bf06c8f
+SHA1 (patch-simd_CMakeLists.txt) = 03764c5bdbea9ca59e86eed31191128f8baf27db
 SHA1 (patch-simd_arm__aarch32_jsimd.c) = db5ac609a3897d249e6b29f601086cce78cd7406
 SHA1 (patch-simd_arm__aarch64_jsimd.c) = 76c5e81403f70a8ea8bca8ae2266066fff5ec6f9
 SHA1 (patch-src_jpeglib.h) = 6be231604acd6a55f3a6d135cfaef20897e2926d

Added files:

Index: pkgsrc/graphics/libjpeg-turbo/patches/patch-simd_CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/libjpeg-turbo/patches/patch-simd_CMakeLists.txt:1.1
--- /dev/null   Sun May 31 09:40:08 2026
+++ pkgsrc/graphics/libjpeg-turbo/patches/patch-simd_CMakeLists.txt     Sun May 31 09:40:08 2026
@@ -0,0 +1,17 @@
+$NetBSD: patch-simd_CMakeLists.txt,v 1.1 2026/05/31 09:40:08 spz Exp $
+
+make the package build for cpu-types not supporting simd:
+https://github.com/libjpeg-turbo/libjpeg-turbo/commit/7cdbf9144d40d68d97c498f54d
+d88a68aee4e36d
+this patch can probably be removed at the next version update
+
+--- simd/CMakeLists.txt.orig   2026-05-31 09:11:17.483951428 +0000
++++ simd/CMakeLists.txt
+@@ -3,6 +3,7 @@ macro(simd_fail message)
+     message(FATAL_ERROR "${message}.")
+   else()
+     message(WARNING "${message}.  Performance will suffer.")
++    set(WITH_SIMD 0)
+     set(WITH_SIMD 0 PARENT_SCOPE)
+   endif()
+ endmacro()



Home | Main Index | Thread Index | Old Index