FreeBSD Bugzilla – Attachment 153467 Details for
Bug 198006
Fix devel/rubygem-cool.io 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 cool.io's copy of libev
devel__rubygem-cool.io-fix-libev-noreturn-1.diff (text/plain), 1.30 KB, created by
Dimitry Andric
on 2015-02-24 20:25:24 UTC
(
hide
)
Description:
Fix positioning of _Noreturn attribute for cool.io's copy of libev
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-02-24 20:25:24 UTC
Size:
1.30 KB
patch
obsolete
>Index: devel/rubygem-cool.io/files/patch-ext__libev__ev.c >=================================================================== >--- devel/rubygem-cool.io/files/patch-ext__libev__ev.c (revision 0) >+++ devel/rubygem-cool.io/files/patch-ext__libev__ev.c (working copy) >@@ -0,0 +1,18 @@ >+--- ext/libev/ev.c.orig 2015-02-24 21:12:24.501215000 +0100 >++++ ext/libev/ev.c 2015-02-24 21:16:08.576108000 +0100 >+@@ -967,12 +967,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 void ecb_noreturn ecb_unreachable (void); >++ ecb_inline void ecb_noreturn ecb_unreachable (void) { } >+ #endif >+ >+ /* try to tell the compiler that some condition is definitely true */ > >Property changes on: devel/rubygem-cool.io/files/patch-ext__libev__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 198006
: 153467