diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2015-08-27 01:01:25 +0800 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2015-08-27 01:01:25 +0800 |
commit | a16e89ce247423c3e28fde96a498ba33f8b34eef (patch) | |
tree | 69b7174715c8bf799d797227ca470cea8bbeb5c3 /graphics | |
parent | 296738efe9d59eecbc5a1385c5882866dfeef283 (diff) | |
download | freebsd-ports-gnome-a16e89ce247423c3e28fde96a498ba33f8b34eef.tar.gz freebsd-ports-gnome-a16e89ce247423c3e28fde96a498ba33f8b34eef.tar.zst freebsd-ports-gnome-a16e89ce247423c3e28fde96a498ba33f8b34eef.zip |
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
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/darktable/files/patch-src_common_darktable.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 |