FreeBSD Bugzilla – Attachment 160248 Details for
Bug 202594
Fix graphics/darktable build with clang 3.7.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Avoid calling __builtin_cpu_supports() with clang
graphics__darktable-fix-builtin-cpu-1.diff (text/plain), 1.11 KB, created by
Dimitry Andric
on 2015-08-23 13:59:51 UTC
(
hide
)
Description:
Avoid calling __builtin_cpu_supports() with clang
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-08-23 13:59:51 UTC
Size:
1.11 KB
patch
obsolete
>Index: graphics/darktable/files/patch-src__common__darktable.c >=================================================================== >--- graphics/darktable/files/patch-src__common__darktable.c (revision 0) >+++ graphics/darktable/files/patch-src__common__darktable.c (working copy) >@@ -0,0 +1,11 @@ >+--- src/common/darktable.c.orig 2015-06-07 11:40:16.000000000 +0200 >++++ src/common/darktable.c 2015-08-23 15:24:46.853488000 +0200 >+@@ -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) >+ // NOTE: _may_i_use_cpu_feature() looks better, but only avaliable in ICC >+ sse3_supported = __builtin_cpu_supports("sse3"); >+ #else > >Property changes on: graphics/darktable/files/patch-src__common__darktable.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202594
: 160248