On Mon, Jun 22, 2015 at 11:25 AM, Mark Patruck <[email protected]> wrote:
> As devel/libev has been updated to 4.20 today, it might be time to
> update devel/p5-EV as well (ports p5-EV is > 2 years old)
>
> - multiple changes (https://metacpan.org/changes/distribution/EV)
> - the only patch is obsolete (fixed upstream thanks to miod@)
> - since 4.20 Canary-Stability-2001 is needed. I've added that under
> devel/p5-Canary-Stability...dunno if it fits here
> - i did a short test with www/p5-Mojo and devel/libev 4.20 and
> devel/p5-EV 4.20 w/o any issues
>
looks good to me.
Ciao!
David
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/p5-EV/Makefile,v
> retrieving revision 1.8
> diff -u -p -r1.8 Makefile
> --- Makefile 14 Jun 2014 23:24:56 -0000 1.8
> +++ Makefile 22 Jun 2015 09:09:57 -0000
> @@ -4,10 +4,9 @@ SHARED_ONLY = Yes
> COMMENT = perl interface to libev
>
> MODULES = cpan
> -DISTNAME = EV-4.15
> +DISTNAME = EV-4.20
> CATEGORIES = devel
> CPAN_AUTHOR = MLEHMANN
> -REVISION = 0
>
> # Perl
> PERMIT_PACKAGE_CDROM = Yes
> @@ -16,6 +15,7 @@ WANTLIB = c pthread
>
> BUILD_DEPENDS = ${RUN_DEPENDS}
> RUN_DEPENDS = devel/libev \
> - devel/p5-common-sense
> + devel/p5-common-sense \
> + devel/p5-Canary-Stability
>
> .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/p5-EV/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo 26 Apr 2013 10:10:28 -0000 1.2
> +++ distinfo 22 Jun 2015 09:09:57 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (EV-4.15.tar.gz) = e8NwGpTc+xPPs4LcNs00VcdJev6XbGBKHheDwDKumXU=
> -SIZE (EV-4.15.tar.gz) = 189514
> +SHA256 (EV-4.20.tar.gz) = RxpmRoeHopIzvC6mn/+xo9lfirj3Vcg1+EWx5tfGZH8=
> +SIZE (EV-4.20.tar.gz) = 191665
> Index: patches/patch-libev_ev_c
> ===================================================================
> RCS file: patches/patch-libev_ev_c
> diff -N patches/patch-libev_ev_c
> --- patches/patch-libev_ev_c 19 Mar 2014 13:48:40 -0000 1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,23 +0,0 @@
> -$OpenBSD: patch-libev_ev_c,v 1.2 2014/03/19 13:48:40 jasper Exp $
> ---- libev/ev.c.orig Fri Mar 1 12:10:48 2013
> -+++ libev/ev.c Wed Mar 19 14:45:12 2014
> -@@ -637,6 +637,10 @@ struct signalfd_siginfo
> - #define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("")
> - #elif defined __ia64__
> - #define ECB_MEMORY_FENCE __asm__ __volatile__ ("mf" : :
> : "memory")
> -+ #elif defined __m88k__
> -+ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("tb1
> 0,%%r0,128" : : : "memory")
> -+ #elif defined __sh__
> -+ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("" : :
> : "memory")
> - #endif
> - #endif
> - #endif
> -@@ -1053,6 +1057,8 @@ ecb_inline ecb_bool ecb_little_endian (void) { return
> - || defined __alpha__ \
> - || defined __hppa__ \
> - || defined __ia64__ \
> -+ || defined __m88k__ \
> -+ || defined __sh__ \
> - || defined _M_IX86 || defined _M_AMD64 || defined _M_IA64
> - #define ECB_STDFP 1
> - #include <string.h> /* for memcpy */
>
>
>
> Index: Makefile
> ===================================================================
> RCS file: Makefile
> diff -N Makefile
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ Makefile 22 Jun 2015 09:06:38 -0000
> @@ -0,0 +1,14 @@
> +# $OpenBSD$
> +
> +COMMENT = canary to check perl compatibility for schmorp's modules
> +
> +MODULES = cpan
> +DISTNAME = Canary-Stability-2001
> +CATEGORIES = devel
> +
> +CPAN_AUTHOR = MLEHMANN
> +
> +# Perl
> +PERMIT_PACKAGE_CDROM = Yes
> +
> +.include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: distinfo
> diff -N distinfo
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ distinfo 22 Jun 2015 09:06:38 -0000
> @@ -0,0 +1,2 @@
> +SHA256 (Canary-Stability-2001.tar.gz) =
> NguEjkYAEPY7v2qyI0VRYKdm+qRgg1lyIqaxH1miswc=
> +SIZE (Canary-Stability-2001.tar.gz) = 3518
> Index: pkg/DESCR
> ===================================================================
> RCS file: pkg/DESCR
> diff -N pkg/DESCR
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ pkg/DESCR 22 Jun 2015 09:06:38 -0000
> @@ -0,0 +1,7 @@
> +This module is used by Schmorp's modules during configuration
> +stage to test the installed perl for compatibility with his
> +modules.
> +
> +It's not, at this stage, meant as a tool for other module
> +authors, although in principle nothing prevents them from
> +subscribing to the same ideas.
> Index: pkg/PLIST
> ===================================================================
> RCS file: pkg/PLIST
> diff -N pkg/PLIST
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ pkg/PLIST 22 Jun 2015 09:06:38 -0000
> @@ -0,0 +1,4 @@
> +@comment $OpenBSD$
> +${P5SITE}/Canary/
> +${P5SITE}/Canary/Stability.pm
> +@man man/man3p/Canary::Stability.3p
>
>
> --
> Mark Patruck ( mark at wrapped.cx )
> GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74 F644 0D3C F66F F286 5E51
>
> http://www.wrapped.cx
>
--
"If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will."
-- Stewart Nelson