···1+diff --git a/Makefile.PL b/Makefile.PL
2+index eaf47e0..32766d7 100644
3+--- a/Makefile.PL
4++++ b/Makefile.PL
5+@@ -146,7 +146,7 @@ extern "C"
6+ /* We use char because int might match the return type of a gcc2
7+ builtin and then its argument prototype would still apply. */
8+ char $f ();
9+-char (*f) ();
10++char f;
11+12+ #ifdef F77_DUMMY_MAIN
13+ # ifdef __cplusplus
+1
pkgs/top-level/perl-packages.nix
···12950 url = "mirror://cpan/authors/id/T/TO/TODDR/IO-Tty-1.17.tar.gz";
12951 hash = "sha256-pfGoMCC8W13WwbVw9Ix1RuCo9/rBCgaHQLA5Ja2eFOg=";
12952 };
012953 doCheck = !stdenv.isDarwin; # openpty fails in the sandbox
12954 meta = {
12955 description = "Low-level allocate a pseudo-Tty, import constants";
···12950 url = "mirror://cpan/authors/id/T/TO/TODDR/IO-Tty-1.17.tar.gz";
12951 hash = "sha256-pfGoMCC8W13WwbVw9Ix1RuCo9/rBCgaHQLA5Ja2eFOg=";
12952 };
12953+ patches = [ ../development/perl-modules/IO-Tty-fix-makefile.patch ];
12954 doCheck = !stdenv.isDarwin; # openpty fails in the sandbox
12955 meta = {
12956 description = "Low-level allocate a pseudo-Tty, import constants";