diff --git a/d10c290fb3b47bbc8fd90d6d1d7935b900c1caf6.patch b/d10c290fb3b47bbc8fd90d6d1d7935b900c1caf6.patch new file mode 100644 index 0000000..a538471 --- /dev/null +++ b/d10c290fb3b47bbc8fd90d6d1d7935b900c1caf6.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 a/src/common/guided_filter.h b/src/common/guided_filter.h +index 36be0de04b9..59c8b2af999 100644 +--- a/src/common/guided_filter.h ++++ b/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/darktable.changes b/darktable.changes index 217dbc4..8c01798 100644 --- a/darktable.changes +++ b/darktable.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 15:34:46 UTC 2021 - Andreas Schneider + +- Added d10c290fb3b47bbc8fd90d6d1d7935b900c1caf6.patch + * Fix building on aarch64 + ------------------------------------------------------------------- Thu Dec 24 08:00:00 UTC 2020 - Andreas Schneider diff --git a/darktable.spec b/darktable.spec index dbb6e9c..6e7c065 100644 --- a/darktable.spec +++ b/darktable.spec @@ -1,7 +1,7 @@ # # spec file for package darktable # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -106,7 +106,8 @@ Source98: debian.tar.xz Source99: README.openSUSE # Patch0: darktable-old-glib.patch - +Patch1: https://github.com/darktable-org/darktable/commit/d10c290fb3b47bbc8fd90d6d1d7935b900c1caf6.patch +# ExclusiveArch: x86_64 aarch64 ppc64le # build time tools BuildRequires: clang