From a0fbf984dfb89f94b154117d48a767c6c554eb3a Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Tue, 6 May 2025 20:43:42 +0200 Subject: [PATCH] perlPackages.IOTty: upgrade to 1.20 Drop the now-unneeded patch. It is not required anymore starting with 1735a78 (Make function checks more robust within shared libs, 2023-04-04), and with the patch a couple of tests fail. --- .../perl-modules/IO-Tty-fix-makefile.patch | 13 ------------- pkgs/top-level/perl-packages.nix | 7 +++---- 2 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 pkgs/development/perl-modules/IO-Tty-fix-makefile.patch diff --git a/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch b/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch deleted file mode 100644 index 65c6d238bdb3..000000000000 --- a/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile.PL b/Makefile.PL -index eaf47e0..32766d7 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -146,7 +146,7 @@ extern "C" - /* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ - char $f (); --char (*f) (); -+char f; - - #ifdef F77_DUMMY_MAIN - # ifdef __cplusplus diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 97119f7d3416..6bca34e0d224 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -17750,12 +17750,11 @@ with self; IOTty = buildPerlPackage { pname = "IO-Tty"; - version = "1.17"; + version = "1.20"; src = fetchurl { - url = "mirror://cpan/authors/id/T/TO/TODDR/IO-Tty-1.17.tar.gz"; - hash = "sha256-pfGoMCC8W13WwbVw9Ix1RuCo9/rBCgaHQLA5Ja2eFOg="; + url = "mirror://cpan/authors/id/T/TO/TODDR/IO-Tty-1.20.tar.gz"; + hash = "sha256-sVMJ/IViOJMonLmyuI36ntHmkVa3XymThVOkW+bXMK8="; }; - patches = [ ../development/perl-modules/IO-Tty-fix-makefile.patch ]; doCheck = !stdenv.hostPlatform.isDarwin; # openpty fails in the sandbox meta = { description = "Low-level allocate a pseudo-Tty, import constants";