ports/mail/milter-manager/files/patch-libev-4.19__ev.c
Kurt Jaeger d06d2decd6 mail/milter-manager: update 2.0.7 -> 2.1.1
- MASTER_SITES is now switched to SFJP.
- Update WWW.
- fixed portlint warnings
- Please note: it fails to run with ruby-2.4 and is marked BROKEN for that case

PR:		226692
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Reviewed by:	koobs
2018-03-21 13:17:20 +00:00

18 lines
646 B
C

--- libev-4.19/ev.c.orig 2016-07-20 07:58:51 UTC
+++ libev-4.19/ev.c
@@ -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 */