about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch')
-rw-r--r--nixpkgs/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch b/nixpkgs/pkgs/development/perl-modules/IO-Tty-fix-makefile.patch
new file mode 100644
index 000000000000..65c6d238bdb3
--- /dev/null
+++ b/nixpkgs/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