depot/third_party/nixpkgs/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

13 lines
353 B
Diff

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