diff options
author | joerg <joerg> | 2014-11-10 18:09:10 +0000 |
---|---|---|
committer | joerg <joerg> | 2014-11-10 18:09:10 +0000 |
commit | c94c0cccdaa703d6d1321c9a47d53a9b947e9995 (patch) | |
tree | 1f3c7f79f691b6edbac34ca345db83511f361c9e /devel | |
parent | 0c6e62f767a23eeac1a7da36a83ddf0c3674758b (diff) | |
download | pkgsrc-c94c0cccdaa703d6d1321c9a47d53a9b947e9995.tar.gz |
Use __builtin_unreachable on Clang instead of the broken C11 hack.
Diffstat (limited to 'devel')
-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 |
8 files changed, 60 insertions, 4 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 :/ */ |