Thu Jan 29 00:48:51 2015 UTC ()
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.


(mef)
diff -r1.13 -r1.14 pkgsrc/devel/p5-Coro/Makefile
diff -r1.8 -r1.9 pkgsrc/devel/p5-Coro/distinfo
diff -r1.1 -r1.2 pkgsrc/devel/p5-Coro/patches/patch-Coro_ecb.h

cvs diff -r1.13 -r1.14 pkgsrc/devel/p5-Coro/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/p5-Coro/Makefile 2014/06/25 22:30:54 1.13
+++ pkgsrc/devel/p5-Coro/Makefile 2015/01/29 00:48:51 1.14
@@ -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
4DISTNAME= Coro-6.39 4DISTNAME= Coro-6.41
5PKGNAME= p5-${DISTNAME} 5PKGNAME= p5-${DISTNAME}
6CATEGORIES= parallel 6CATEGORIES= devel
7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Coro/} 7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Coro/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://search.cpan.org/dist/Coro/ 10HOMEPAGE= http://search.cpan.org/dist/Coro/
11COMMENT= Perl 5 module providing cooperative threads 11COMMENT= Perl 5 module providing cooperative threads
12LICENSE= ${PERL5_LICENSE} 12LICENSE= ${PERL5_LICENSE}
13 13
14REPLACE_PERL= Coro/jit-amd64-unix.pl Coro/jit-x86-unix.pl 14REPLACE_PERL= Coro/jit-amd64-unix.pl Coro/jit-x86-unix.pl
15 15
16USE_LANGUAGES= c 16USE_LANGUAGES= c
17PERL5_PACKLIST= auto/Coro/.packlist 17PERL5_PACKLIST= auto/Coro/.packlist
18 18
19DEPENDS+= p5-AnyEvent-AIO>=1:../../devel/p5-AnyEvent-AIO 19DEPENDS+= p5-AnyEvent-AIO>=1:../../devel/p5-AnyEvent-AIO

cvs diff -r1.8 -r1.9 pkgsrc/devel/p5-Coro/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/p5-Coro/distinfo 2014/11/10 18:09:10 1.8
+++ pkgsrc/devel/p5-Coro/distinfo 2015/01/29 00:48:51 1.9
@@ -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
3SHA1 (Coro-6.39.tar.gz) = 1f0b8dc9d0e58d43271d303fa8c78695f7ab66e1 3SHA1 (Coro-6.41.tar.gz) = 795e9e114b82f41e75d797a95f893eeda91a5a2b
4RMD160 (Coro-6.39.tar.gz) = 2e0fbfc224f7dcd43545ff298c8003de291dda1f 4RMD160 (Coro-6.41.tar.gz) = 2b15a8a81813d219ea67afe3f17ee1383dad5daf
5Size (Coro-6.39.tar.gz) = 188865 bytes 5Size (Coro-6.41.tar.gz) = 189177 bytes
6SHA1 (patch-Coro_ecb.h) = 5e4917bdfc35a87e11f67b66dd8861c0b104753f 6SHA1 (patch-Coro_ecb.h) = 2d777b733a998ba606071c9e8ff1d7edb41b9045
7SHA1 (patch-aa) = 4116ed31979879c16ebee194eb32a4c4c2c4438d 7SHA1 (patch-aa) = 4116ed31979879c16ebee194eb32a4c4c2c4438d

cvs diff -r1.1 -r1.2 pkgsrc/devel/p5-Coro/patches/Attic/patch-Coro_ecb.h (expand / switch to unified diff)

--- pkgsrc/devel/p5-Coro/patches/Attic/patch-Coro_ecb.h 2014/11/10 18:09:10 1.1
+++ pkgsrc/devel/p5-Coro/patches/Attic/patch-Coro_ecb.h 2015/01/29 00:48:51 1.2
@@ -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
 3Use __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 :/ */