Sun Feb 8 02:49:50 2015 UTC ()
(pkgsrc)
 - Add comment on patch, picking from cvs log
(upstream)
 - Update 4.18 to 4.31
-------------------
4.31  Tue Jun  3 03:29:27 CEST 2014
        - work around more 5.20 bugs. backwards compatibility my ass.

4.3   Fri Apr 11 06:22:38 CEST 2014
        - perl5porters broke Async::Interrupt, BDB, EV, IO::AIO, OpenCL
          without warning by switching the meaning of USE_SOCKETS_AS_HANDLES
          in 5.18. What's so attractive about giving a shit about backwards
          compatibility - I will never understand.

4.2   Sat Jan 25 01:13:14 CET 2014
        - aio_group could corrupt memory because it didn't restore
          the stack after req_submit.
        - be more careful on (e.g. permission) errors in bin/treescan.
        - work around changes in ExtUtils::MakeMaker.
        - (libeio) implement aio_realpath for win32.
        - (xthread) work around compile time bugs in ptw32.
        - added IO::AIO::pipesize.
        - (libecb) insignificant update.

4.19  Sun Jan  6 12:47:26 CET 2013
        - avoid endless loop in fiemap with some XFS files.
        - in aio_rename and aio_rmdir, specialcase the case of [$wd, "."]
          and call rename/rmdir instead of renameat/unlinkat.


(mef)
diff -r1.10 -r1.11 pkgsrc/devel/p5-IO-AIO/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/p5-IO-AIO/distinfo
diff -r1.1 -r1.2 pkgsrc/devel/p5-IO-AIO/patches/patch-libeio_ecb.h

cvs diff -r1.10 -r1.11 pkgsrc/devel/p5-IO-AIO/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/p5-IO-AIO/Makefile 2014/05/29 23:35:58 1.10
+++ pkgsrc/devel/p5-IO-AIO/Makefile 2015/02/08 02:49:50 1.11
@@ -1,19 +1,18 @@ @@ -1,19 +1,18 @@
1# $NetBSD: Makefile,v 1.10 2014/05/29 23:35:58 wiz Exp $ 1# $NetBSD: Makefile,v 1.11 2015/02/08 02:49:50 mef Exp $
2# 2#
3 3
4DISTNAME= IO-AIO-4.18 4DISTNAME= IO-AIO-4.31
5PKGNAME= p5-${DISTNAME} 5PKGNAME= p5-${DISTNAME}
6PKGREVISION= 1 
7CATEGORIES= parallel 6CATEGORIES= parallel
8MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IO/} 7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IO/}
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://search.cpan.org/dist/IO-AIO/ 10HOMEPAGE= http://search.cpan.org/dist/IO-AIO/
12COMMENT= Perl 5 module implementing asynchronous input/output 11COMMENT= Perl 5 module implementing asynchronous input/output
13LICENSE= ${PERL5_LICENSE} 12LICENSE= ${PERL5_LICENSE}
14 13
15# Note: libeio is bundle with the distribution tarball. 14# Note: libeio is bundle with the distribution tarball.
16# Its configure script is run via Makefile.PL 15# Its configure script is run via Makefile.PL
17# with all perl configuration settings, id est 16# with all perl configuration settings, id est
18# the Config module, set in its environment 17# the Config module, set in its environment
19 18

cvs diff -r1.5 -r1.6 pkgsrc/devel/p5-IO-AIO/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/p5-IO-AIO/distinfo 2014/11/10 18:09:10 1.5
+++ pkgsrc/devel/p5-IO-AIO/distinfo 2015/02/08 02:49:50 1.6
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.5 2014/11/10 18:09:10 joerg Exp $ 1$NetBSD: distinfo,v 1.6 2015/02/08 02:49:50 mef Exp $
2 2
3SHA1 (IO-AIO-4.18.tar.gz) = 158c76d718a4474607532fdd943ce199ee65213c 3SHA1 (IO-AIO-4.31.tar.gz) = a5528fd7c24377ebabc403e5662d40bce027aee0
4RMD160 (IO-AIO-4.18.tar.gz) = 6017fd9ec5b2a292a1f8bb743a7c0193e0523201 4RMD160 (IO-AIO-4.31.tar.gz) = ce99f2c46adbbebe56066168a79bec90a60c0554
5Size (IO-AIO-4.18.tar.gz) = 146624 bytes 5Size (IO-AIO-4.31.tar.gz) = 149718 bytes
6SHA1 (patch-libeio_ecb.h) = 928d08c52fdce6dfbf346fbaa78b53411a92289c 6SHA1 (patch-libeio_ecb.h) = a913e483e86a188d3f9b8667e0ee387e7988b112

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

--- pkgsrc/devel/p5-IO-AIO/patches/Attic/patch-libeio_ecb.h 2014/11/10 18:09:10 1.1
+++ pkgsrc/devel/p5-IO-AIO/patches/Attic/patch-libeio_ecb.h 2015/02/08 02:49:50 1.2
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
1$NetBSD: patch-libeio_ecb.h,v 1.1 2014/11/10 18:09:10 joerg Exp $ 1$NetBSD: patch-libeio_ecb.h,v 1.2 2015/02/08 02:49:50 mef Exp $
 2
 3Use __builtin_unreachable on Clang instead of the broken C11 hack.
2 4
3--- libeio/ecb.h.orig 2014-11-09 21:03:05.000000000 +0000 5--- libeio/ecb.h.orig 2014-11-09 21:03:05.000000000 +0000
4+++ libeio/ecb.h 6+++ libeio/ecb.h
5@@ -468,7 +468,7 @@ ecb_inline uint64_t ecb_rotr64 (uint64_t 7@@ -468,7 +468,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 :/ */