(pkgsrc) - Add following DEPENDS +DEPENDS+= p5-Canary-Stability-[0-9]*:../../devel/p5-Canary-Stability - Drop patch-libev_ev.c (seems to be fixed) - Add comment on patch (from cvs log) (upstream) - Update 4.18 to 4.21 ------------------- Changes marked with (libev) are changes in libev, and have more documentation in the libev Changes file. 4.21 Mon Jul 13 21:47:33 CEST 2015 - allow argument in timer->again. - document timer->remaining. - document default repeat value for timer->set. 4.20 Sat Jun 20 13:07:34 CEST 2015 - added stability canary support. - truly rely on automatic configuration for clock_gettime and others. unfortunately, this doesn't help with activeperl and similar perls, which define _POSIX_TIMERS without actually implementing any of it. - (libev, ecb) make it compile as C++ again. - (libev) fix a potential aliasing issue when accessing watcher cbs.diff -r1.18 -r1.19 pkgsrc/devel/p5-EV/Makefile
(mef)
@@ -1,25 +1,25 @@ | @@ -1,25 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.18 2015/06/12 10:48:21 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.19 2015/07/27 14:30:34 mef Exp $ | |
2 | 2 | |||
3 | DISTNAME= EV-4.18 | 3 | DISTNAME= EV-4.21 | |
4 | PKGNAME= p5-${DISTNAME} | 4 | PKGNAME= p5-${DISTNAME} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/ML/MLEHMANN/} | 6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/M/ML/MLEHMANN/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://search.cpan.org/dist/EV/ | 9 | HOMEPAGE= http://search.cpan.org/dist/EV/ | |
11 | COMMENT= Perl interface to libev, a high performance full-featured event loop | 10 | COMMENT= Perl interface to libev, a high performance full-featured event loop | |
12 | LICENSE= ${PERL5_LICENSE} | 11 | LICENSE= ${PERL5_LICENSE} | |
13 | 12 | |||
14 | DEPENDS+= p5-common-sense-[0-9]*:../../devel/p5-common-sense | 13 | DEPENDS+= p5-common-sense-[0-9]*:../../devel/p5-common-sense | |
14 | DEPENDS+= p5-Canary-Stability-[0-9]*:../../devel/p5-Canary-Stability | |||
15 | 15 | |||
16 | MAKE_ENV+= PERL_MM_USE_DEFAULT=1 | 16 | MAKE_ENV+= PERL_MM_USE_DEFAULT=1 | |
17 | PERL5_PACKLIST= auto/EV/.packlist | 17 | PERL5_PACKLIST= auto/EV/.packlist | |
18 | 18 | |||
19 | OPSYSVARS+= MAKE_ENV | 19 | OPSYSVARS+= MAKE_ENV | |
20 | 20 | |||
21 | # Explicitly disable epoll and inotify on illumos, assumes Linux statfs. | 21 | # Explicitly disable epoll and inotify on illumos, assumes Linux statfs. | |
22 | MAKE_ENV.SunOS+= EV_EPOLL=0 EV_INOTIFY=0 | 22 | MAKE_ENV.SunOS+= EV_EPOLL=0 EV_INOTIFY=0 | |
23 | 23 | |||
24 | .include "../../lang/perl5/module.mk" | 24 | .include "../../lang/perl5/module.mk" | |
25 | .include "../../mk/bsd.pkg.mk" | 25 | .include "../../mk/bsd.pkg.mk" |
@@ -1,7 +1,6 @@ | @@ -1,7 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2015/01/29 08:47:24 mef Exp $ | 1 | $NetBSD: distinfo,v 1.12 2015/07/27 14:30:34 mef Exp $ | |
2 | 2 | |||
3 | SHA1 (EV-4.18.tar.gz) = a33dbdf0097fc3ecd9cdd95530e6681c560f3f51 | 3 | SHA1 (EV-4.21.tar.gz) = 0937e56c98380593a6dbe88585712fe7683c2a8d | |
4 | RMD160 (EV-4.18.tar.gz) = 9407c575179a369f000d45ca27b59246e3f3585e | 4 | RMD160 (EV-4.21.tar.gz) = 09cf456597a7488f3fa5f3cdaaa0495ce381ee72 | |
5 | Size (EV-4.18.tar.gz) = 190556 bytes | 5 | Size (EV-4.21.tar.gz) = 191880 bytes | |
6 | SHA1 (patch-libev_ev.c) = 726cf6454516f23a1a38ce3e3f1296c87ed03329 | 6 | SHA1 (patch-libev_ev.h) = d408e13260b6893147e0ce7b66355ee3ca90aa2f | |
7 | SHA1 (patch-libev_ev.h) = 349c203b23013e9e836810aadcd5e4df8add032b |
@@ -1,13 +1,15 @@ | @@ -1,13 +1,15 @@ | |||
1 | $NetBSD: patch-libev_ev.h,v 1.2 2013/09/02 12:23:43 obache Exp $ | 1 | $NetBSD: patch-libev_ev.h,v 1.3 2015/07/27 14:30:34 mef Exp $ | |
2 | ||||
3 | Don't define a variable as both static and extern. | |||
2 | 4 | |||
3 | --- libev/ev.h.orig 2013-03-01 11:05:29.000000000 +0000 | 5 | --- libev/ev.h.orig 2013-03-01 11:05:29.000000000 +0000 | |
4 | +++ libev/ev.h | 6 | +++ libev/ev.h | |
5 | @@ -557,8 +557,6 @@ EV_API_DECL struct ev_loop *ev_default_l | 7 | @@ -557,8 +557,6 @@ EV_API_DECL struct ev_loop *ev_default_l | |
6 | EV_INLINE struct ev_loop * | 8 | EV_INLINE struct ev_loop * | |
7 | ev_default_loop_uc_ (void) EV_THROW | 9 | ev_default_loop_uc_ (void) EV_THROW | |
8 | { | 10 | { | |
9 | - extern struct ev_loop *ev_default_loop_ptr; | 11 | - extern struct ev_loop *ev_default_loop_ptr; | |
10 | - | 12 | - | |
11 | return ev_default_loop_ptr; | 13 | return ev_default_loop_ptr; | |
12 | } | 14 | } | |
13 | 15 |