diff options
author | rhaen <rhaen> | 2009-02-25 14:12:04 +0000 |
---|---|---|
committer | rhaen <rhaen> | 2009-02-25 14:12:04 +0000 |
commit | d321a8980f302b5333dd0a2e48bc39d6f82b00a2 (patch) | |
tree | d9258105a5199d36b39c81c75f7d467c63812bda | |
parent | c69dcfb2f99851ca77888cd29be8689dbc212b7b (diff) | |
download | pkgsrc-d321a8980f302b5333dd0a2e48bc39d6f82b00a2.tar.gz |
- updated to 1.08
- removed patch-ab
ChangeLog:
2009-02-05 Roland Giersig <rgiersig@cpan.org>
* v1.08
* Makefile.PL, Tty.xs: added support for posix_openpt(),
thanks to Ed Schouten for providing a patch
-rw-r--r-- | devel/p5-IO-Tty/Makefile | 5 | ||||
-rw-r--r-- | devel/p5-IO-Tty/distinfo | 9 | ||||
-rw-r--r-- | devel/p5-IO-Tty/patches/patch-ab | 28 |
3 files changed, 6 insertions, 36 deletions
diff --git a/devel/p5-IO-Tty/Makefile b/devel/p5-IO-Tty/Makefile index d0b480935fc..8f144c9ff0a 100644 --- a/devel/p5-IO-Tty/Makefile +++ b/devel/p5-IO-Tty/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.21 2008/10/19 19:17:56 he Exp $ +# $NetBSD: Makefile,v 1.22 2009/02/25 14:12:04 rhaen Exp $ # -DISTNAME= IO-Tty-1.07 +DISTNAME= IO-Tty-1.08 PKGNAME= p5-${DISTNAME:C/T/t/} -PKGREVISION= 1 SVR4_PKGNAME= p5itt CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IO/} diff --git a/devel/p5-IO-Tty/distinfo b/devel/p5-IO-Tty/distinfo index a998d4c5a40..6839ac7b3cb 100644 --- a/devel/p5-IO-Tty/distinfo +++ b/devel/p5-IO-Tty/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.8 2008/02/09 16:34:43 rhaen Exp $ +$NetBSD: distinfo,v 1.9 2009/02/25 14:12:04 rhaen Exp $ -SHA1 (IO-Tty-1.07.tar.gz) = 3dda5c1bf10aecb51627a4c9abdc60a471e1915e -RMD160 (IO-Tty-1.07.tar.gz) = 2a4f41ff0e275d9d76aacbe03723c27d3dfe0a3f -Size (IO-Tty-1.07.tar.gz) = 22004 bytes -SHA1 (patch-ab) = 3465382b06e4facf1b5b5403b69fa7ff1011ff9a +SHA1 (IO-Tty-1.08.tar.gz) = 547395e3ce0f1894ec08f56fadfe0942a13f9249 +RMD160 (IO-Tty-1.08.tar.gz) = 29bb020ec7b0b8c5cc7ac74c184d0911e7457750 +Size (IO-Tty-1.08.tar.gz) = 22320 bytes diff --git a/devel/p5-IO-Tty/patches/patch-ab b/devel/p5-IO-Tty/patches/patch-ab deleted file mode 100644 index e2d050c4e11..00000000000 --- a/devel/p5-IO-Tty/patches/patch-ab +++ /dev/null @@ -1,28 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2006/02/19 01:28:53 heinz Exp $ - ---- Tty.xs.orig 2002-03-06 14:47:32.000000000 +0100 -+++ Tty.xs -@@ -300,6 +300,23 @@ open_slave(int *ptyfd, int *ttyfd, char - if (PL_dowarn) - warn("IO::Tty::pty_allocate(nonfatal): grantpt(): %.100s", strerror(errno)); - } -+ -+#if defined(__NetBSD__) -+ /* NetBSD >= 3.0 supports grantpt() but it invalidates the slave -+ FD (see grantpt(3) on NetBSD) obtained through openpty(). -+ The slave device will be opened again below. -+ */ -+ *ttyfd = -1; -+ -+ /* The issue should be really fixed by using posix_openpt() instead of -+ openpty(). The functions posix_openpt(), grantpt(), unlockpt() -+ and ptsname() belong together and should be used ahead of -+ all the other ways to create the master and slave tty, not just -+ on NetBSD. See also -+ http://www.opengroup.org/onlinepubs/009695399/functions/posix_openpt.html -+ */ -+#endif -+ - #endif /* HAVE_GRANTPT */ - #if defined(HAVE_UNLOCKPT) - #if PTY_DEBUG |