Update 6.39 to 6.41 6.41 Sat Sep 6 22:08:46 CEST 2014 - restore portability to perl 5.8.x. - give new Coro's a valid GvHV(PL_hintgv) - this is slow and takes up some memory, but fixes "use feature" and similar modules when used inside a Coro. - allow zero as argument to Coro::Channel to mean the same thing as no argument. this works with older versions as well, but wasn't legal until now. - slightly better c header file detection.diff -r1.13 -r1.14 pkgsrc/devel/p5-Coro/Makefile
(mef)
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2014/06/25 22:30:54 schmonz Exp $ | 1 | # $NetBSD: Makefile,v 1.14 2015/01/29 00:48:51 mef Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= Coro-6.39 | 4 | DISTNAME= Coro-6.41 | |
5 | PKGNAME= p5-${DISTNAME} | 5 | PKGNAME= p5-${DISTNAME} | |
6 | CATEGORIES= parallel | 6 | CATEGORIES= devel | |
7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Coro/} | 7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Coro/} | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://search.cpan.org/dist/Coro/ | 10 | HOMEPAGE= http://search.cpan.org/dist/Coro/ | |
11 | COMMENT= Perl 5 module providing cooperative threads | 11 | COMMENT= Perl 5 module providing cooperative threads | |
12 | LICENSE= ${PERL5_LICENSE} | 12 | LICENSE= ${PERL5_LICENSE} | |
13 | 13 | |||
14 | REPLACE_PERL= Coro/jit-amd64-unix.pl Coro/jit-x86-unix.pl | 14 | REPLACE_PERL= Coro/jit-amd64-unix.pl Coro/jit-x86-unix.pl | |
15 | 15 | |||
16 | USE_LANGUAGES= c | 16 | USE_LANGUAGES= c | |
17 | PERL5_PACKLIST= auto/Coro/.packlist | 17 | PERL5_PACKLIST= auto/Coro/.packlist | |
18 | 18 | |||
19 | DEPENDS+= p5-AnyEvent-AIO>=1:../../devel/p5-AnyEvent-AIO | 19 | DEPENDS+= p5-AnyEvent-AIO>=1:../../devel/p5-AnyEvent-AIO |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.8 2014/11/10 18:09:10 joerg Exp $ | 1 | $NetBSD: distinfo,v 1.9 2015/01/29 00:48:51 mef Exp $ | |
2 | 2 | |||
3 | SHA1 (Coro-6.39.tar.gz) = 1f0b8dc9d0e58d43271d303fa8c78695f7ab66e1 | 3 | SHA1 (Coro-6.41.tar.gz) = 795e9e114b82f41e75d797a95f893eeda91a5a2b | |
4 | RMD160 (Coro-6.39.tar.gz) = 2e0fbfc224f7dcd43545ff298c8003de291dda1f | 4 | RMD160 (Coro-6.41.tar.gz) = 2b15a8a81813d219ea67afe3f17ee1383dad5daf | |
5 | Size (Coro-6.39.tar.gz) = 188865 bytes | 5 | Size (Coro-6.41.tar.gz) = 189177 bytes | |
6 | SHA1 (patch-Coro_ecb.h) = 5e4917bdfc35a87e11f67b66dd8861c0b104753f | 6 | SHA1 (patch-Coro_ecb.h) = 2d777b733a998ba606071c9e8ff1d7edb41b9045 | |
7 | SHA1 (patch-aa) = 4116ed31979879c16ebee194eb32a4c4c2c4438d | 7 | SHA1 (patch-aa) = 4116ed31979879c16ebee194eb32a4c4c2c4438d |
@@ -1,13 +1,15 @@ | @@ -1,13 +1,15 @@ | |||
1 | $NetBSD: patch-Coro_ecb.h,v 1.1 2014/11/10 18:09:10 joerg Exp $ | 1 | $NetBSD: patch-Coro_ecb.h,v 1.2 2015/01/29 00:48:51 mef Exp $ | |
2 | ||||
3 | Use __builtin_unreachable on Clang instead of the broken C11 hack. | |||
2 | 4 | |||
3 | --- Coro/ecb.h.orig 2014-11-10 12:35:13.000000000 +0000 | 5 | --- Coro/ecb.h.orig 2014-11-10 12:35:13.000000000 +0000 | |
4 | +++ Coro/ecb.h | 6 | +++ Coro/ecb.h | |
5 | @@ -523,7 +523,7 @@ ecb_inline uint64_t ecb_rotr64 (uint64_t | 7 | @@ -523,7 +523,7 @@ ecb_inline uint64_t ecb_rotr64 (uint64_t | |
6 | } | 8 | } | |
7 | #endif | 9 | #endif | |
8 | 10 | |||
9 | -#if ECB_GCC_VERSION(4,5) | 11 | -#if ECB_GCC_VERSION(4,5) | |
10 | +#if ECB_GCC_VERSION(4,5) || defined(__clang__) | 12 | +#if ECB_GCC_VERSION(4,5) || defined(__clang__) | |
11 | #define ecb_unreachable() __builtin_unreachable () | 13 | #define ecb_unreachable() __builtin_unreachable () | |
12 | #else | 14 | #else | |
13 | /* this seems to work fine, but gcc always emits a warning for it :/ */ | 15 | /* this seems to work fine, but gcc always emits a warning for it :/ */ |