update p5-IO-Tty to 1.16
fix perl and compiler warnings
This commit is contained in:
parent
b3785e3202
commit
6dc4a3cf62
@ -1,16 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.26 2020/11/05 20:40:54 benoit Exp $
|
||||
# $OpenBSD: Makefile,v 1.27 2021/03/20 15:38:39 bluhm Exp $
|
||||
|
||||
COMMENT= provide an interface to create pseudo ttys
|
||||
COMMENT = provide an interface to create pseudo ttys
|
||||
|
||||
MODULES= cpan
|
||||
DISTNAME = IO-Tty-1.15
|
||||
CATEGORIES= devel
|
||||
DISTNAME = IO-Tty-1.16
|
||||
|
||||
FIX_EXTRACT_PERMISSIONS = Yes
|
||||
CATEGORIES = devel
|
||||
|
||||
# Perl
|
||||
PERMIT_PACKAGE= Yes
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += c perl util
|
||||
WANTLIB = c perl util
|
||||
|
||||
MODULES = cpan
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (IO-Tty-1.15.tar.gz) = Q/nMD4diC7sVngiQ4ZayOo5kGcvQQiTBDz3O6Uj2tRo=
|
||||
SIZE (IO-Tty-1.15.tar.gz) = 25761
|
||||
SHA256 (IO-Tty-1.16.tar.gz) = jxoJwHBzitxpXfkD8uf3QwjdjZkbkUwLw5Cg5gISlN0=
|
||||
SIZE (IO-Tty-1.16.tar.gz) = 26765
|
||||
|
16
devel/p5-IO-Tty/patches/patch-Makefile_PL
Normal file
16
devel/p5-IO-Tty/patches/patch-Makefile_PL
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.1 2021/03/20 15:38:39 bluhm Exp $
|
||||
|
||||
https://github.com/toddr/IO-Tty/pull/28
|
||||
|
||||
Index: Makefile.PL
|
||||
--- Makefile.PL.orig
|
||||
+++ Makefile.PL
|
||||
@@ -15,7 +15,7 @@ use Config qw(%Config);
|
||||
|
||||
my %cfg;
|
||||
@cfg{qw(cc ccflags ldflags)} = @Config{qw(cc ccflags ldflags)};
|
||||
-for my $arg (@ARGV) {
|
||||
+for (@ARGV) {
|
||||
if ( /^(CC|CCFLAGS|LDFLAGS)=(.*)/i ) {
|
||||
$cfg{lc($1)} = $2;
|
||||
}
|
16
devel/p5-IO-Tty/patches/patch-Tty_xs
Normal file
16
devel/p5-IO-Tty/patches/patch-Tty_xs
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-Tty_xs,v 1.4 2021/03/20 15:38:39 bluhm Exp $
|
||||
|
||||
https://github.com/toddr/IO-Tty/pull/29
|
||||
|
||||
Index: Tty.xs
|
||||
--- Tty.xs.orig
|
||||
+++ Tty.xs
|
||||
@@ -864,7 +864,7 @@ unpack_winsize(winsize)
|
||||
struct winsize ws;
|
||||
PPCODE:
|
||||
if(SvCUR(winsize) != sizeof(ws))
|
||||
- croak("IO::Tty::unpack_winsize(): Bad arg length - got %d, expected %d",
|
||||
+ croak("IO::Tty::unpack_winsize(): Bad arg length - got %zd, expected %zd",
|
||||
SvCUR(winsize), sizeof(ws));
|
||||
Copy(SvPV_nolen(winsize), &ws, sizeof(ws), char);
|
||||
EXTEND(SP, 4);
|
Loading…
Reference in New Issue
Block a user