diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2015-12-10 02:21:04 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2015-12-10 02:21:04 +0000 |
commit | caf473c824c6cdbace0bc40364347d632507508f (patch) | |
tree | eb2be835219c44c9fd0159b9e64086c90879b98f /mail/milter-manager/files/patch-libev-4.19__ev.c | |
parent | Catch up on documentation of Redmine vulnerabilities (diff) |
Upgrade to 2.0.7.
Notes
Notes:
svn path=/head/; revision=403439
Diffstat (limited to 'mail/milter-manager/files/patch-libev-4.19__ev.c')
-rw-r--r-- | mail/milter-manager/files/patch-libev-4.19__ev.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/milter-manager/files/patch-libev-4.19__ev.c b/mail/milter-manager/files/patch-libev-4.19__ev.c new file mode 100644 index 000000000000..52457c6636d7 --- /dev/null +++ b/mail/milter-manager/files/patch-libev-4.19__ev.c @@ -0,0 +1,18 @@ +--- libev-4.19/ev.c.orig 2015-12-10 10:12:15.511854000 +0800 ++++ libev-4.19/ev.c 2015-12-10 10:13:19.665492000 +0800 +@@ -1022,12 +1022,12 @@ ecb_inline uint64_t ecb_rotr64 (uint64_t + } + #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 ecb_unreachable (void); ++ ecb_inline ecb_noreturn ecb_unreachable (void) { } + #endif + + /* try to tell the compiler that some condition is definitely true */ |