update p5-IPC-Run to 20200505.0

from wen heping
add patch to fix test
This commit is contained in:
bluhm 2021-09-08 21:23:22 +00:00
parent a9ff2b77e0
commit 920ed5c784
3 changed files with 33 additions and 12 deletions

View File

@ -1,16 +1,19 @@
# $OpenBSD: Makefile,v 1.16 2020/07/03 21:44:57 sthen Exp $
# $OpenBSD: Makefile,v 1.17 2021/09/08 21:23:22 bluhm Exp $
COMMENT= run a subprocess
COMMENT = run a subprocess
MODULES= cpan
PKG_ARCH= *
DISTNAME = IPC-Run-0.96
CATEGORIES= devel
REVISION = 0
DISTNAME = IPC-Run-20200505.0
# perl
PERMIT_PACKAGE= Yes
CATEGORIES = devel
TEST_DEPENDS = devel/p5-IO-Tty
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
RUN_DEPENDS = devel/p5-IO-Tty>=1.08
TEST_DEPENDS = devel/p5-Readonly
PKG_ARCH = *
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (IPC-Run-0.96.tar.gz) = u9JP8CfhwjKz3AJ1Ysn0OG2nK3aZHTD589QRnofPRkA=
SIZE (IPC-Run-0.96.tar.gz) = 121644
SHA256 (IPC-Run-20200505.0.tar.gz) = gW6/IX+g35nFg9c8Csxs7XisdzeHxmTHXL8UC7fkyQE=
SIZE (IPC-Run-20200505.0.tar.gz) = 127505

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-t_pty_t,v 1.1 2021/09/08 21:23:22 bluhm Exp $
Make t/pty.t test pass on OpenBSD.
Index: t/pty.t
--- t/pty.t.orig
+++ t/pty.t
@@ -141,6 +141,10 @@ SKIP: {
is( _map_fds, $fd_map );
}
+# OpenBSD libc devname(3) opens /var/run/dev.db and keeps it open.
+# As this would confuse open file descriptor checks, open it in advance.
+IO::Pty->new();
+
##
## stdout, stderr
##