diff options
author | schmonz <schmonz@pkgsrc.org> | 2014-06-02 02:14:10 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2014-06-02 02:14:10 +0000 |
commit | 7866b0f654a8cfe5c4bc6f6c975e5a11b6e279a7 (patch) | |
tree | 5275c32917000f5ba1a1580ce2013f9ff87fa5c3 | |
parent | 1a0de532b9b7aa72c303956e41bb6d950a532242 (diff) | |
download | pkgsrc-7866b0f654a8cfe5c4bc6f6c975e5a11b6e279a7.tar.gz |
Fix perl5.20 build on some versions of OS X, NetBSD, OpenBSD. Patch
from <https://github.com/toddr/IO-Tty/pull/3/commits>.
-rw-r--r-- | devel/p5-IO-Tty/Makefile | 6 | ||||
-rw-r--r-- | devel/p5-IO-Tty/distinfo | 9 | ||||
-rw-r--r-- | devel/p5-IO-Tty/patches/patch-Tty.xs | 19 |
3 files changed, 27 insertions, 7 deletions
diff --git a/devel/p5-IO-Tty/Makefile b/devel/p5-IO-Tty/Makefile index e9c5eb5f69d..e13855d4845 100644 --- a/devel/p5-IO-Tty/Makefile +++ b/devel/p5-IO-Tty/Makefile @@ -1,15 +1,15 @@ -# $NetBSD: Makefile,v 1.29 2014/05/29 23:35:59 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2014/06/02 02:14:10 schmonz Exp $ # -DISTNAME= IO-Tty-1.10 +DISTNAME= IO-Tty-1.11 PKGNAME= p5-${DISTNAME:C/T/t/} -PKGREVISION= 4 SVR4_PKGNAME= p5itt CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IO/} MAINTAINER= rhaen@NetBSD.org COMMENT= Another Perl class for I/O on tty and pseudo-tty devices +LICENSE= ${PERL5_LICENSE} PKG_INSTALLATION_TYPES= overwrite pkgviews diff --git a/devel/p5-IO-Tty/distinfo b/devel/p5-IO-Tty/distinfo index cb69ba1482a..622ba188c82 100644 --- a/devel/p5-IO-Tty/distinfo +++ b/devel/p5-IO-Tty/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.10 2010/12/17 18:20:18 rhaen Exp $ +$NetBSD: distinfo,v 1.11 2014/06/02 02:14:10 schmonz Exp $ -SHA1 (IO-Tty-1.10.tar.gz) = 9eaad631cde8f49cc20757f4b1e81247ce67f333 -RMD160 (IO-Tty-1.10.tar.gz) = 80a1efbf3936875f6de9210d772f8d532ca90d5b -Size (IO-Tty-1.10.tar.gz) = 23291 bytes +SHA1 (IO-Tty-1.11.tar.gz) = 0704a100ae87eae1837df8a872dcd202961af8ce +RMD160 (IO-Tty-1.11.tar.gz) = e9b2083d34cb5939adda9e355b96c1f8255e7c88 +Size (IO-Tty-1.11.tar.gz) = 24206 bytes +SHA1 (patch-Tty.xs) = a79de78989fc36af51c425b354b1355f462226f9 diff --git a/devel/p5-IO-Tty/patches/patch-Tty.xs b/devel/p5-IO-Tty/patches/patch-Tty.xs new file mode 100644 index 00000000000..84fb0d65908 --- /dev/null +++ b/devel/p5-IO-Tty/patches/patch-Tty.xs @@ -0,0 +1,19 @@ +$NetBSD: patch-Tty.xs,v 1.1 2014/06/02 02:14:10 schmonz Exp $ + +Fix perl5.20 build on some versions of OS X, NetBSD, OpenBSD. + +From <https://github.com/toddr/IO-Tty/pull/3/commits>. + +--- Tty.xs.orig 2012-01-14 06:34:50.000000000 +0000 ++++ Tty.xs +@@ -58,7 +58,9 @@ typedef FILE * InOutStream; + #endif /* HAVE_UTIL_H */ + + #ifdef HAVE_UTIL_H +-# include <util.h> ++# if ((PATCHLEVEL < 19) && (SUBVERSION < 4)) ++# include <util.h> ++# endif + #endif /* HAVE_UTIL_H */ + + #ifdef HAVE_PTY_H |