summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-ze
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5/patches/patch-ze')
-rw-r--r--lang/perl5/patches/patch-ze28
1 files changed, 0 insertions, 28 deletions
diff --git a/lang/perl5/patches/patch-ze b/lang/perl5/patches/patch-ze
deleted file mode 100644
index aa45c453465..00000000000
--- a/lang/perl5/patches/patch-ze
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-ze,v 1.6 2014/05/29 07:57:07 adam Exp $
-
-Fixes compilation problem on Solaris/SPARC.
-
---- perl.h.orig 2014-05-26 13:34:20.000000000 +0000
-+++ perl.h
-@@ -1265,8 +1265,8 @@ EXTERN_C char *crypt(const char *, const
- # endif
- #else
- # ifdef HAS_SYS_ERRLIST
-- extern int sys_nerr;
-- extern char *sys_errlist[];
-+ extern const int sys_nerr;
-+ extern const char *const sys_errlist[];
- # ifndef Strerror
- # define Strerror(e) \
- ((e) < 0 || (e) >= sys_nerr ? UNKNOWN_ERRNO_MSG : sys_errlist[e])
-@@ -1331,6 +1331,10 @@ EXTERN_C char *crypt(const char *, const
- */
-
- #if defined(I_SYSMODE)
-+#if defined(__sun)
-+#include <sys/stat.h>
-+#include <sys/vnode.h>
-+#endif
- #include <sys/mode.h>
- #endif
-