diff options
author | joerg <joerg@pkgsrc.org> | 2014-11-10 18:09:10 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-11-10 18:09:10 +0000 |
commit | e3999c0896d542693a244c4d63b6ede0b62b8813 (patch) | |
tree | 1f3c7f79f691b6edbac34ca345db83511f361c9e /mail | |
parent | 79b36fab6ab8357dacdaea466af0bc328c86ec99 (diff) | |
download | pkgsrc-e3999c0896d542693a244c4d63b6ede0b62b8813.tar.gz |
Use __builtin_unreachable on Clang instead of the broken C11 hack.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/milter-manager/distinfo | 3 | ||||
-rw-r--r-- | mail/milter-manager/patches/patch-libev-4.15_ev.c | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/mail/milter-manager/distinfo b/mail/milter-manager/distinfo index b745a7bc84d..61c2a91a8ed 100644 --- a/mail/milter-manager/distinfo +++ b/mail/milter-manager/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.24 2014/06/28 06:42:12 obache Exp $ +$NetBSD: distinfo,v 1.25 2014/11/10 18:09:10 joerg Exp $ SHA1 (milter-manager-2.0.4.tar.gz) = 531613b8640e98f64fd086c98be6b3c5f521fd8c RMD160 (milter-manager-2.0.4.tar.gz) = 0dea0146b00db3f06126d0cf70c6c6c5624a0556 Size (milter-manager-2.0.4.tar.gz) = 6628656 bytes SHA1 (patch-configure) = ee1f31e83354c4c6b38ae1c0d4fda40f28ad92b6 +SHA1 (patch-libev-4.15_ev.c) = 8393cc727fda6a812931e42507e5db2fdf370c33 diff --git a/mail/milter-manager/patches/patch-libev-4.15_ev.c b/mail/milter-manager/patches/patch-libev-4.15_ev.c new file mode 100644 index 00000000000..fa139679a77 --- /dev/null +++ b/mail/milter-manager/patches/patch-libev-4.15_ev.c @@ -0,0 +1,13 @@ +$NetBSD: patch-libev-4.15_ev.c,v 1.1 2014/11/10 18:09:11 joerg Exp $ + +--- libev-4.15/ev.c.orig 2014-11-10 11:47:48.000000000 +0000 ++++ libev-4.15/ev.c +@@ -963,7 +963,7 @@ 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 :/ */ |