update p5-IO-Tty to 1.17

patches have been applied upstream
This commit is contained in:
bluhm 2022-11-12 13:00:36 +00:00
parent bf88a54252
commit 62260ec418
4 changed files with 3 additions and 31 deletions

View File

@ -1,6 +1,6 @@
COMMENT = provide an interface to create pseudo ttys
DISTNAME = IO-Tty-1.16
DISTNAME = IO-Tty-1.17
CATEGORIES = devel

View File

@ -1,2 +1,2 @@
SHA256 (IO-Tty-1.16.tar.gz) = jxoJwHBzitxpXfkD8uf3QwjdjZkbkUwLw5Cg5gISlN0=
SIZE (IO-Tty-1.16.tar.gz) = 26765
SHA256 (IO-Tty-1.17.tar.gz) = pfGoMCC8W13WwbVw9Ix1RuCo9/rBCgaHQLA5Ja2eFOg=
SIZE (IO-Tty-1.17.tar.gz) = 27245

View File

@ -1,14 +0,0 @@
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;
}

View File

@ -1,14 +0,0 @@
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);