pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Use __builtin_unreachable on Clang instead of the brok...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b11a030fe4e0
branches:  trunk
changeset: 641530:b11a030fe4e0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Nov 10 18:09:10 2014 +0000

description:
Use __builtin_unreachable on Clang instead of the broken C11 hack.

diffstat:

 devel/libev/distinfo                              |   3 ++-
 devel/libev/patches/patch-ev.c                    |  13 +++++++++++++
 devel/p5-Coro/distinfo                            |   3 ++-
 devel/p5-Coro/patches/patch-Coro_ecb.h            |  13 +++++++++++++
 devel/p5-EV/distinfo                              |   3 ++-
 devel/p5-EV/patches/patch-libev_ev.c              |  13 +++++++++++++
 devel/p5-IO-AIO/distinfo                          |   3 ++-
 devel/p5-IO-AIO/patches/patch-libeio_ecb.h        |  13 +++++++++++++
 mail/milter-manager/distinfo                      |   3 ++-
 mail/milter-manager/patches/patch-libev-4.15_ev.c |  13 +++++++++++++
 net/py-gevent/distinfo                            |   3 ++-
 net/py-gevent/patches/patch-libev_ev.c            |  13 +++++++++++++
 12 files changed, 90 insertions(+), 6 deletions(-)

diffs (171 lines):

diff -r 9548d5a2c15b -r b11a030fe4e0 devel/libev/distinfo
--- a/devel/libev/distinfo      Mon Nov 10 18:05:45 2014 +0000
+++ b/devel/libev/distinfo      Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 devel/libev/patches/patch-ev.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libev/patches/patch-ev.c    Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 devel/p5-Coro/distinfo
--- a/devel/p5-Coro/distinfo    Mon Nov 10 18:05:45 2014 +0000
+++ b/devel/p5-Coro/distinfo    Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 devel/p5-Coro/patches/patch-Coro_ecb.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Coro/patches/patch-Coro_ecb.h    Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 devel/p5-EV/distinfo
--- a/devel/p5-EV/distinfo      Mon Nov 10 18:05:45 2014 +0000
+++ b/devel/p5-EV/distinfo      Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 devel/p5-EV/patches/patch-libev_ev.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-EV/patches/patch-libev_ev.c      Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 devel/p5-IO-AIO/distinfo
--- a/devel/p5-IO-AIO/distinfo  Mon Nov 10 18:05:45 2014 +0000
+++ b/devel/p5-IO-AIO/distinfo  Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 devel/p5-IO-AIO/patches/patch-libeio_ecb.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-IO-AIO/patches/patch-libeio_ecb.h        Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 mail/milter-manager/distinfo
--- a/mail/milter-manager/distinfo      Mon Nov 10 18:05:45 2014 +0000
+++ b/mail/milter-manager/distinfo      Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 mail/milter-manager/patches/patch-libev-4.15_ev.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/milter-manager/patches/patch-libev-4.15_ev.c Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 net/py-gevent/distinfo
--- a/net/py-gevent/distinfo    Mon Nov 10 18:05:45 2014 +0000
+++ b/net/py-gevent/distinfo    Mon Nov 10 18:09:10 2014 +0000
@@ -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 -r 9548d5a2c15b -r b11a030fe4e0 net/py-gevent/patches/patch-libev_ev.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-gevent/patches/patch-libev_ev.c    Mon Nov 10 18:09:10 2014 +0000
@@ -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 :/ */



Home | Main Index | Thread Index | Old Index