FreeBSD Bugzilla – Attachment 153468 Details for
Bug 198007
Fix devel/rubygem-nio4r 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 nio4r's copy of libev
devel__rubygem-nio4r-fix-libev-noreturn-1.diff (text/plain), 1.29 KB, created by
Dimitry Andric
on 2015-02-24 20:27:41 UTC
(
hide
)
Description:
Fix positioning of _Noreturn attribute for nio4r's copy of libev
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-02-24 20:27:41 UTC
Size:
1.29 KB
patch
obsolete
>Index: devel/rubygem-nio4r/files/patch-ext__libev__ev.c >=================================================================== >--- devel/rubygem-nio4r/files/patch-ext__libev__ev.c (revision 0) >+++ devel/rubygem-nio4r/files/patch-ext__libev__ev.c (working copy) >@@ -0,0 +1,18 @@ >+--- ext/libev/ev.c.orig 2015-02-24 21:22:11.038934000 +0100 >++++ ext/libev/ev.c 2015-02-24 21:23:03.298987000 +0100 >+@@ -1026,12 +1026,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-nio4r/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 198007
: 153468