From 2fe609b107eaac11eb49b24081e5c6774aba7875 Mon Sep 17 00:00:00 2001 From: lemmi Date: Wed, 22 Jun 2022 00:35:25 +0200 Subject: [PATCH] darktable: update to 3.8.1. --- ...rget_clones-attribute-only-for-glibc.patch | 23 ++++++------------- srcpkgs/darktable/template | 6 ++--- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/srcpkgs/darktable/patches/0001-define-target_clones-attribute-only-for-glibc.patch b/srcpkgs/darktable/patches/0001-define-target_clones-attribute-only-for-glibc.patch index b16a7a3457e8..0d8b5c38adc7 100644 --- a/srcpkgs/darktable/patches/0001-define-target_clones-attribute-only-for-glibc.patch +++ b/srcpkgs/darktable/patches/0001-define-target_clones-attribute-only-for-glibc.patch @@ -1,17 +1,17 @@ -From 305f9110e1d63bfa33064d5c92490c442b27c8bf Mon Sep 17 00:00:00 2001 +From 463bca74a122dd3792a554100d30654fcfd6c8ec Mon Sep 17 00:00:00 2001 From: lemmi -Date: Sat, 25 Dec 2021 18:20:21 +0100 +Date: Wed, 22 Jun 2022 00:29:08 +0200 Subject: [PATCH] define target_clones attribute only for glibc --- - src/common/darktable.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) + src/common/darktable.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/darktable.h b/src/common/darktable.h -index b841bf2bc..1b9b01d4e 100644 +index aad6169f8..87843d450 100644 --- a/src/common/darktable.h +++ b/src/common/darktable.h -@@ -127,14 +127,15 @@ typedef unsigned int u_int; +@@ -127,7 +127,7 @@ typedef unsigned int u_int; /* Create cloned functions for various CPU SSE generations */ /* See for instructions https://hannes.hauswedell.net/post/2017/12/09/fmv/ */ /* TL;DR : use only on SIMD functions containing low-level paralellized/vectorized loops */ @@ -20,15 +20,6 @@ index b841bf2bc..1b9b01d4e 100644 # if defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) #define __DT_CLONE_TARGETS__ __attribute__((target_clones("default", "sse2", "sse3", "sse4.1", "sse4.2", "popcnt", "avx", "avx2", "avx512f", "fma4"))) # elif defined(__PPC64__) - /* __PPC64__ is the only macro tested for in is_supported_platform.h, other macros would fail there anyway. */ - #define __DT_CLONE_TARGETS__ __attribute__((target_clones("default","cpu=power9"))) - # endif --#else -+#endif -+#ifndef __DT_CLONE_TARGETS__ - #define __DT_CLONE_TARGETS__ - #endif - -- -2.34.1 +2.36.1 diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template index 551c4a3b76c6..a0c243ca585d 100644 --- a/srcpkgs/darktable/template +++ b/srcpkgs/darktable/template @@ -1,7 +1,7 @@ # Template file for 'darktable' pkgname=darktable -version=3.8.0 -revision=4 +version=3.8.1 +revision=1 # upstream only supports these archs: archs="x86_64* aarch64* ppc64le*" build_style=cmake @@ -23,7 +23,7 @@ license="GPL-3.0-or-later" homepage="http://www.darktable.org/" changelog="https://github.com/darktable-org/darktable/releases" distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz" -checksum=2e65c7c78d074ad218e3ef7a8c3051a8ea78f4a0406386667859645e5e4bf705 +checksum=81ee069054dbde580749b2d3a81cda01b7d169a82ba48731823f3ea560b2bef6 # 2022-01-05 # avif doesn't load correctly, disable avif by default for now: