diff options
author | Tae Selene Sandoval Murgan <tssm@users.noreply.github.com> | 2023-10-28 20:36:20 +0200 |
---|---|---|
committer | Tae Selene Sandoval Murgan <tssm@users.noreply.github.com> | 2023-10-28 20:56:30 +0200 |
commit | daba2eb22daef581d5dc5d7d166fb6c396f7ba1c (patch) | |
tree | 69572c4f9b3fc3fe8a1d69702988cda6a06d08d4 /pkgs/development/perl-modules | |
parent | 6b05d3288abb48ad694a34f2951755844d55e478 (diff) |
perlPackages.IOTty: Fix build on Darwin
Co-authored-by: Stig <git@stig.io>
Diffstat (limited to 'pkgs/development/perl-modules')
-rw-r--r-- | pkgs/development/perl-modules/IO-Tty-fix-makefile.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch b/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch new file mode 100644 index 0000000000000..65c6d238bdb32 --- /dev/null +++ b/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch @@ -0,0 +1,13 @@ +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 |