Hi,
Fairly simple update; all regressions passed on ports that depend on
devel/p5-IO-Tty (on i386/amd64/sparc64).
- update to 1.10
- no need for groff
- sync patche
Comments, OK?
Cheers,
Okan
Index: Makefile
===================================================================
RCS file: /home/okan/openbsd/cvs/ports/devel/p5-IO-Tty/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile 3 Dec 2010 11:44:32 -0000 1.13
+++ Makefile 12 Oct 2011 03:43:32 -0000
@@ -5,10 +5,8 @@ SHARED_ONLY= Yes
COMMENT= provide an interface to create pseudo ttys
MODULES= cpan
-DISTNAME= IO-Tty-1.08
-REVISION= 1
+DISTNAME= IO-Tty-1.10
CATEGORIES= devel
-USE_GROFF = Yes
# Perl
PERMIT_PACKAGE_CDROM= Yes
Index: distinfo
===================================================================
RCS file: /home/okan/openbsd/cvs/ports/devel/p5-IO-Tty/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 23 Mar 2009 14:01:31 -0000 1.5
+++ distinfo 12 Oct 2011 03:43:24 -0000
@@ -1,5 +1,5 @@
-MD5 (IO-Tty-1.08.tar.gz) = 6Z2Bmm+MEa4QW3cMxQik/A==
-RMD160 (IO-Tty-1.08.tar.gz) = KbsCDsewuMXMesdMGE0JEedFd1A=
-SHA1 (IO-Tty-1.08.tar.gz) = VHOV484PGJTsCPVvrf4JQqE/kkk=
-SHA256 (IO-Tty-1.08.tar.gz) = nlsIy30RBGkW9Qt9E280zoQJhr4KfAORr+lvSU3l52s=
-SIZE (IO-Tty-1.08.tar.gz) = 22320
+MD5 (IO-Tty-1.10.tar.gz) = RrrshqFF5X8OxmH6QSsJfA==
+RMD160 (IO-Tty-1.10.tar.gz) = gKHvvzk2h19t6SENdy+NUyypDVs=
+SHA1 (IO-Tty-1.10.tar.gz) = nqrWMc3o9JzCB1f0segSR85n8zM=
+SHA256 (IO-Tty-1.10.tar.gz) = MabiGtGH7F6pPCuJjWs1GWR8X86fOUttPAWh98P2+LE=
+SIZE (IO-Tty-1.10.tar.gz) = 23291
Index: patches/patch-Tty_xs
===================================================================
RCS file: /home/okan/openbsd/cvs/ports/devel/p5-IO-Tty/patches/patch-Tty_xs,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Tty_xs
--- patches/patch-Tty_xs 28 Aug 2004 22:54:50 -0000 1.1
+++ patches/patch-Tty_xs 12 Oct 2011 03:44:41 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-Tty_xs,v 1.1 2004/08/28 22:54:50 millert Exp $
---- Tty.xs.orig Wed Mar 6 06:47:32 2002
-+++ Tty.xs Sat Aug 28 13:02:55 2004
-@@ -271,6 +271,7 @@ make_safe_fd(int * fd)
+--- Tty.xs.orig Mon Oct 11 14:07:57 2010
++++ Tty.xs Tue Oct 11 23:43:40 2011
+@@ -233,6 +233,7 @@ make_safe_fd(int * fd)
}
}
@@ -9,7 +9,7 @@ $OpenBSD: patch-Tty_xs,v 1.1 2004/08/28
/*
* After having acquired a master pty, try to find out the slave name,
* initialize and open the slave.
-@@ -433,6 +434,7 @@ open_slave(int *ptyfd, int *ttyfd, char
+@@ -395,6 +396,7 @@ open_slave(int *ptyfd, int *ttyfd, char *namebuf, int
return 1;
}
@@ -17,7 +17,7 @@ $OpenBSD: patch-Tty_xs,v 1.1 2004/08/28
/*
* Allocates and opens a pty. Returns 0 if no pty could be allocated, or
-@@ -488,7 +490,7 @@ allocate_pty(int *ptyfd, int *ttyfd, cha
+@@ -450,7 +452,7 @@ allocate_pty(int *ptyfd, int *ttyfd, char *namebuf, in
}
#endif
@@ -25,8 +25,8 @@ $OpenBSD: patch-Tty_xs,v 1.1 2004/08/28
+#if defined(HAVE_PTSNAME) || defined(HAVE_PTSNAME_R) || defined(HAVE_OPENPTY)
/* we don't need to try these if we don't have a way to get the pty names */
- #if defined(HAVE_GETPT)
-@@ -505,29 +507,21 @@ allocate_pty(int *ptyfd, int *ttyfd, cha
+ #if defined(HAVE_POSIX_OPENPT)
+@@ -479,29 +481,21 @@ allocate_pty(int *ptyfd, int *ttyfd, char *namebuf, in
#endif /* defined(HAVE_GETPT) */
#if defined(HAVE_OPENPTY)