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 | 0fd4eb5204ab1123850922aa2e3a3d1c65b5af12 (patch) | |
tree | 1f3c7f79f691b6edbac34ca345db83511f361c9e | |
parent | 3237cf6d95b9975f9981017fbaf4118c2cb9e459 (diff) | |
download | pkgsrc-0fd4eb5204ab1123850922aa2e3a3d1c65b5af12.tar.gz |
Use __builtin_unreachable on Clang instead of the broken C11 hack.
-rw-r--r-- | devel/libev/distinfo | 3 | ||||
-rw-r--r-- | devel/libev/patches/patch-ev.c | 13 | ||||
-rw-r--r-- | devel/p5-Coro/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Coro/patches/patch-Coro_ecb.h | 13 | ||||
-rw-r--r-- | devel/p5-EV/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-EV/patches/patch-libev_ev.c | 13 | ||||
-rw-r--r-- | devel/p5-IO-AIO/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-IO-AIO/patches/patch-libeio_ecb.h | 13 | ||||
-rw-r--r-- | mail/milter-manager/distinfo | 3 | ||||
-rw-r--r-- | mail/milter-manager/patches/patch-libev-4.15_ev.c | 13 | ||||
-rw-r--r-- | net/py-gevent/distinfo | 3 | ||||
-rw-r--r-- | net/py-gevent/patches/patch-libev_ev.c | 13 |
12 files changed, 90 insertions, 6 deletions
diff --git a/devel/libev/distinfo b/devel/libev/distinfo index 0c3b019c2e6..61b5db80174 100644 --- a/devel/libev/distinfo +++ b/devel/libev/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.6 2013/08/28 12:34:59 fhajny Exp $ +$NetBSD: distinfo,v 1.7 2014/11/10 18:09:10 joerg Exp $ SHA1 (libev-4.15.tar.gz) = 88655b1e2c0b328c9f90a6df7e72361a97fa8dc3 RMD160 (libev-4.15.tar.gz) = 100812a3d24b9968a670c9cd4f16c9de172a0994 Size (libev-4.15.tar.gz) = 513919 bytes +SHA1 (patch-ev.c) = abfc6630d0989e6d0d6d6474b19adff0e465ffb5 diff --git a/devel/libev/patches/patch-ev.c b/devel/libev/patches/patch-ev.c new file mode 100644 index 00000000000..fd804c8376e --- /dev/null +++ b/devel/libev/patches/patch-ev.c @@ -0,0 +1,13 @@ +$NetBSD: patch-ev.c,v 1.1 2014/11/10 18:09:10 joerg Exp $ + +--- ev.c.orig 2014-11-09 20:47:55.000000000 +0000 ++++ 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 :/ */ diff --git a/devel/p5-Coro/distinfo b/devel/p5-Coro/distinfo index 2225374c2db..9224d8644b1 100644 --- a/devel/p5-Coro/distinfo +++ b/devel/p5-Coro/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.7 2014/06/25 22:30:54 schmonz Exp $ +$NetBSD: distinfo,v 1.8 2014/11/10 18:09:10 joerg Exp $ SHA1 (Coro-6.39.tar.gz) = 1f0b8dc9d0e58d43271d303fa8c78695f7ab66e1 RMD160 (Coro-6.39.tar.gz) = 2e0fbfc224f7dcd43545ff298c8003de291dda1f Size (Coro-6.39.tar.gz) = 188865 bytes +SHA1 (patch-Coro_ecb.h) = 5e4917bdfc35a87e11f67b66dd8861c0b104753f SHA1 (patch-aa) = 4116ed31979879c16ebee194eb32a4c4c2c4438d diff --git a/devel/p5-Coro/patches/patch-Coro_ecb.h b/devel/p5-Coro/patches/patch-Coro_ecb.h new file mode 100644 index 00000000000..1284002998a --- /dev/null +++ b/devel/p5-Coro/patches/patch-Coro_ecb.h @@ -0,0 +1,13 @@ +$NetBSD: patch-Coro_ecb.h,v 1.1 2014/11/10 18:09:10 joerg Exp $ + +--- Coro/ecb.h.orig 2014-11-10 12:35:13.000000000 +0000 ++++ Coro/ecb.h +@@ -523,7 +523,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 :/ */ diff --git a/devel/p5-EV/distinfo b/devel/p5-EV/distinfo index d565be61150..7ba2bb07f8a 100644 --- a/devel/p5-EV/distinfo +++ b/devel/p5-EV/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.9 2013/09/02 12:23:43 obache Exp $ +$NetBSD: distinfo,v 1.10 2014/11/10 18:09:10 joerg Exp $ SHA1 (EV-4.15.tar.gz) = 87783633d9d93a44ec752ed90490c653a21b4a06 RMD160 (EV-4.15.tar.gz) = 25a7ea50986bed0e31b29fa0e757ecbf29af5733 Size (EV-4.15.tar.gz) = 189514 bytes +SHA1 (patch-libev_ev.c) = 726cf6454516f23a1a38ce3e3f1296c87ed03329 SHA1 (patch-libev_ev.h) = 349c203b23013e9e836810aadcd5e4df8add032b diff --git a/devel/p5-EV/patches/patch-libev_ev.c b/devel/p5-EV/patches/patch-libev_ev.c new file mode 100644 index 00000000000..acf16bf008b --- /dev/null +++ b/devel/p5-EV/patches/patch-libev_ev.c @@ -0,0 +1,13 @@ +$NetBSD: patch-libev_ev.c,v 1.1 2014/11/10 18:09:10 joerg Exp $ + +--- libev/ev.c.orig 2014-11-09 20:59:37.000000000 +0000 ++++ libev/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 :/ */ diff --git a/devel/p5-IO-AIO/distinfo b/devel/p5-IO-AIO/distinfo index 208d3831ddc..b4d86b54b4c 100644 --- a/devel/p5-IO-AIO/distinfo +++ b/devel/p5-IO-AIO/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2013/09/02 13:03:17 obache Exp $ +$NetBSD: distinfo,v 1.5 2014/11/10 18:09:10 joerg Exp $ SHA1 (IO-AIO-4.18.tar.gz) = 158c76d718a4474607532fdd943ce199ee65213c RMD160 (IO-AIO-4.18.tar.gz) = 6017fd9ec5b2a292a1f8bb743a7c0193e0523201 Size (IO-AIO-4.18.tar.gz) = 146624 bytes +SHA1 (patch-libeio_ecb.h) = 928d08c52fdce6dfbf346fbaa78b53411a92289c diff --git a/devel/p5-IO-AIO/patches/patch-libeio_ecb.h b/devel/p5-IO-AIO/patches/patch-libeio_ecb.h new file mode 100644 index 00000000000..ad74239b0b2 --- /dev/null +++ b/devel/p5-IO-AIO/patches/patch-libeio_ecb.h @@ -0,0 +1,13 @@ +$NetBSD: patch-libeio_ecb.h,v 1.1 2014/11/10 18:09:10 joerg Exp $ + +--- libeio/ecb.h.orig 2014-11-09 21:03:05.000000000 +0000 ++++ libeio/ecb.h +@@ -468,7 +468,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 :/ */ 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 :/ */ diff --git a/net/py-gevent/distinfo b/net/py-gevent/distinfo index 38730e26678..3907297ae92 100644 --- a/net/py-gevent/distinfo +++ b/net/py-gevent/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1 2014/06/08 22:36:22 rodent Exp $ +$NetBSD: distinfo,v 1.2 2014/11/10 18:09:11 joerg Exp $ SHA1 (gevent-1.0.1.tar.gz) = 2cc1b6e1fa29b30ea881fa6a195e57faaf089ae8 RMD160 (gevent-1.0.1.tar.gz) = 430fb627b4f7350969e2e0bfc45eedaf18aa6325 Size (gevent-1.0.1.tar.gz) = 1455636 bytes +SHA1 (patch-libev_ev.c) = c62c0babc31c89ec8e2fd945ec0042e65c8e016e diff --git a/net/py-gevent/patches/patch-libev_ev.c b/net/py-gevent/patches/patch-libev_ev.c new file mode 100644 index 00000000000..a7be582c78b --- /dev/null +++ b/net/py-gevent/patches/patch-libev_ev.c @@ -0,0 +1,13 @@ +$NetBSD: patch-libev_ev.c,v 1.1 2014/11/10 18:09:11 joerg Exp $ + +--- libev/ev.c.orig 2014-11-10 12:40:39.000000000 +0000 ++++ libev/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 :/ */ |