From caf473c824c6cdbace0bc40364347d632507508f Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 10 Dec 2015 02:21:04 +0000 Subject: Upgrade to 2.0.7. --- mail/milter-manager/files/patch-libev-4.19__ev.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mail/milter-manager/files/patch-libev-4.19__ev.c (limited to 'mail/milter-manager/files/patch-libev-4.19__ev.c') 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 */ -- cgit v1.2.3