From a16e89ce247423c3e28fde96a498ba33f8b34eef Mon Sep 17 00:00:00 2001 From: dumbbell Date: Wed, 26 Aug 2015 17:01:25 +0000 Subject: graphics/darktable: Add patch to support LLVM/Clang 3.7.0 PR: 202594 Reviewed by: bapt, kwm Approved by: bapt Differential Revision: https://reviews.freebsd.org/D3247 --- graphics/darktable/files/patch-src_common_darktable.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 graphics/darktable/files/patch-src_common_darktable.c (limited to 'graphics') diff --git a/graphics/darktable/files/patch-src_common_darktable.c b/graphics/darktable/files/patch-src_common_darktable.c new file mode 100644 index 000000000000..7c8ebee5ac8a --- /dev/null +++ b/graphics/darktable/files/patch-src_common_darktable.c @@ -0,0 +1,11 @@ +--- src/common/darktable.c.orig 2015-07-26 11:47:47 UTC ++++ src/common/darktable.c +@@ -403,7 +403,7 @@ int dt_init(int argc, char *argv[], cons + #else + int sse3_supported = 0; + +-#if(__GNUC_PREREQ(4, 8) || __has_builtin(__builtin_cpu_supports)) ++#if(__GNUC_PREREQ(4, 8) || (!defined(__FreeBSD__) && __has_builtin(__builtin_cpu_supports))) + // NOTE: _may_i_use_cpu_feature() looks better, but only avaliable in ICC + sse3_supported = __builtin_cpu_supports("sse3"); + #else -- cgit