FreeBSD Bugzilla – Attachment 153696 Details for
Bug 198207
Fix mail/milter-manager build with clang 3.6.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix positioning of _Noreturn attribute for milter-manager's copy of libev
mail__milter-manager-fix-libev-noreturn-1.diff (text/plain), 1.29 KB, created by
Dimitry Andric
on 2015-03-02 20:59:10 UTC
(
hide
)
Description:
Fix positioning of _Noreturn attribute for milter-manager's copy of libev
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-03-02 20:59:10 UTC
Size:
1.29 KB
patch
obsolete
>Index: mail/milter-manager/files/patch-libev-4.15__ev.c >=================================================================== >--- mail/milter-manager/files/patch-libev-4.15__ev.c (revision 0) >+++ mail/milter-manager/files/patch-libev-4.15__ev.c (working copy) >@@ -0,0 +1,18 @@ >+--- libev-4.15/ev.c.orig 2014-05-20 06:54:23.272151000 +0200 >++++ libev-4.15/ev.c 2015-03-02 21:52:59.621578000 +0100 >+@@ -963,12 +963,12 @@ >+ } >+ #endif >+ >+-#if ECB_GCC_VERSION(4,5) >++#if ECB_GCC_VERSION(4,5) || defined __clang__ >+ #define ecb_unreachable() __builtin_unreachable () >+ #else >+ /* this seems to work fine, but gcc always emits a warning for it :/ */ >+- ecb_inline void ecb_unreachable (void) ecb_noreturn; >+- ecb_inline void ecb_unreachable (void) { } >++ ecb_inline ecb_noreturn void ecb_unreachable (void); >++ ecb_inline ecb_noreturn void ecb_unreachable (void) { } >+ #endif >+ >+ /* try to tell the compiler that some condition is definitely true */ > >Property changes on: mail/milter-manager/files/patch-libev-4.15__ev.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 198207
: 153696