From ddcb6019ac9f7b4a4f6fb0d3d0a10afb862ce671 Mon Sep 17 00:00:00 2001 From: lemmi Date: Thu, 24 Dec 2020 13:45:47 +0100 Subject: [PATCH] darktable: update to 3.4.0. --- .../patches/disable_sse_aarch64.patch | 30 +++++++++++++++++++ srcpkgs/darktable/template | 4 +-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/darktable/patches/disable_sse_aarch64.patch diff --git a/srcpkgs/darktable/patches/disable_sse_aarch64.patch b/srcpkgs/darktable/patches/disable_sse_aarch64.patch new file mode 100644 index 00000000000..ca4fdb9d05a --- /dev/null +++ b/srcpkgs/darktable/patches/disable_sse_aarch64.patch @@ -0,0 +1,30 @@ +From d10c290fb3b47bbc8fd90d6d1d7935b900c1caf6 Mon Sep 17 00:00:00 2001 +From: Pascal Obry +Date: Thu, 24 Dec 2020 16:17:19 +0100 +Subject: [PATCH] guided_filter: include xmmintrin.h only if SSE defined. + +Fixes #7428. +--- + src/common/guided_filter.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git src/common/guided_filter.h src/common/guided_filter.h +index 36be0de04b9..59c8b2af999 100644 +--- src/common/guided_filter.h ++++ src/common/guided_filter.h +@@ -18,6 +18,7 @@ + + #pragma once + ++#if defined(__SSE__) + #ifdef __PPC64__ + #ifdef NO_WARN_X86_INTRINSICS + #include +@@ -29,6 +30,7 @@ + #else + #include + #endif // __PPC64__ ++#endif + + #include "common/darktable.h" + #include "common/opencl.h" diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template index 20734edd8fc..eba6fd5a7c0 100644 --- a/srcpkgs/darktable/template +++ b/srcpkgs/darktable/template @@ -1,6 +1,6 @@ # Template file for 'darktable' pkgname=darktable -version=3.2.1 +version=3.4.0 revision=1 # upstream only supports these archs: archs="x86_64* aarch64* ppc64le*" @@ -22,7 +22,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=6e3683ea88dc0a0271be7eca4fd594b9e46b1b7194847825a8d0a0c12bdeb90c +checksum=6dd3de1f5ea9f94af92838c0be5ff30fdaa599aa1d737dcb562f9e0b2b2dbdda build_options="gmic"