diff options
author | erwin <erwin@FreeBSD.org> | 2009-02-25 22:30:55 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2009-02-25 22:30:55 +0800 |
commit | afefe4c9c87bba88885499674171fc6e85613677 (patch) | |
tree | c3d36a5864a205fc0c2e99c77174c9cbfc5d4ae7 /devel | |
parent | da7940da35b45446b92ddce71bef9ff71b72134e (diff) | |
download | freebsd-ports-gnome-afefe4c9c87bba88885499674171fc6e85613677.tar.gz freebsd-ports-gnome-afefe4c9c87bba88885499674171fc6e85613677.tar.zst freebsd-ports-gnome-afefe4c9c87bba88885499674171fc6e85613677.zip |
Update to 1.08, which includes the fix committed in the previous
revision.
Submitted by: ed
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-IO-Tty/Makefile | 3 | ||||
-rw-r--r-- | devel/p5-IO-Tty/distinfo | 6 | ||||
-rw-r--r-- | devel/p5-IO-Tty/files/patch-Makefile.PL | 39 | ||||
-rw-r--r-- | devel/p5-IO-Tty/files/patch-Tty.xs | 21 |
4 files changed, 4 insertions, 65 deletions
diff --git a/devel/p5-IO-Tty/Makefile b/devel/p5-IO-Tty/Makefile index 98ae0a51bb3f..cd2bcf21a17b 100644 --- a/devel/p5-IO-Tty/Makefile +++ b/devel/p5-IO-Tty/Makefile @@ -6,8 +6,7 @@ # PORTNAME= IO-Tty -PORTVERSION= 1.07 -PORTREVISION= 1 +PORTVERSION= 1.08 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/devel/p5-IO-Tty/distinfo b/devel/p5-IO-Tty/distinfo index b9eea6b23e63..9ca1acdc0e36 100644 --- a/devel/p5-IO-Tty/distinfo +++ b/devel/p5-IO-Tty/distinfo @@ -1,3 +1,3 @@ -MD5 (IO-Tty-1.07.tar.gz) = 2a54e49b60a4092e93af5b8073ec5325 -SHA256 (IO-Tty-1.07.tar.gz) = 44c3b00c7b33db6fc4d11e0d096520f2e870f8557f2e2a8f0e8d2efcf9506906 -SIZE (IO-Tty-1.07.tar.gz) = 22004 +MD5 (IO-Tty-1.08.tar.gz) = e99d819a6f8c11ae105b770cc508a4fc +SHA256 (IO-Tty-1.08.tar.gz) = 9e5b08cb7d11046916f50b7d136f34ce840986be0a7c0391afe96f494de5e76b +SIZE (IO-Tty-1.08.tar.gz) = 22320 diff --git a/devel/p5-IO-Tty/files/patch-Makefile.PL b/devel/p5-IO-Tty/files/patch-Makefile.PL deleted file mode 100644 index 2afbacdb2b19..000000000000 --- a/devel/p5-IO-Tty/files/patch-Makefile.PL +++ /dev/null @@ -1,39 +0,0 @@ ---- Makefile.PL -+++ Makefile.PL -@@ -95,16 +95,17 @@ - - # checking for various functions - --my %funcs = (ttyname => "", -- openpty => "-lutil", -- _getpty => "", -- strlcpy => "", -- sigaction => "", -- grantpt => "", -- unlockpt => "", -- getpt => "", -- ptsname => "", -- ptsname_r => "", -+my %funcs = (ttyname => "", -+ openpty => "-lutil", -+ _getpty => "", -+ strlcpy => "", -+ sigaction => "", -+ grantpt => "", -+ unlockpt => "", -+ getpt => "", -+ posix_openpt => "", -+ ptsname => "", -+ ptsname_r => "", - ); - - foreach my $f (sort keys %funcs) { -@@ -290,7 +291,7 @@ - msg => "WARNING! Neither ptsname() nor ptsname_r() could be found,\n so we cannot use a high-level interface like openpty().\n", - }, - { -- defines => [qw"-DHAVE_DEV_PTMX -DHAVE_DEV_PTYM_CLONE -DHAVE_DEV_PTC -DHAVE_DEV_PTMX_BSD -DHAVE__GETPTY -DHAVE_OPENPTY -DHAVE_GETPT"], -+ defines => [qw"-DHAVE_DEV_PTMX -DHAVE_DEV_PTYM_CLONE -DHAVE_DEV_PTC -DHAVE_DEV_PTMX_BSD -DHAVE__GETPTY -DHAVE_OPENPTY -DHAVE_GETPT -DHAVE_POSIX_OPENPT"], - msg => "No high-level lib or clone device has been found, we will use BSD-style ptys.\n", - }, - ) { diff --git a/devel/p5-IO-Tty/files/patch-Tty.xs b/devel/p5-IO-Tty/files/patch-Tty.xs deleted file mode 100644 index 12fc5e668819..000000000000 --- a/devel/p5-IO-Tty/files/patch-Tty.xs +++ /dev/null @@ -1,21 +0,0 @@ ---- Tty.xs -+++ Tty.xs -@@ -453,6 +453,18 @@ - #if defined(HAVE_PTSNAME) || defined(HAVE_PTSNAME_R) - /* we don't need to try these if we don't have a way to get the pty names */ - -+#if defined(HAVE_POSIX_OPENPT) -+#if PTY_DEBUG -+ if (print_debug) -+ fprintf(stderr, "trying posix_openpt()...\n"); -+#endif -+ *ptyfd = posix_openpt(O_RDWR|O_NOCTTY); -+ if (*ptyfd >= 0 && open_slave(ptyfd, ttyfd, namebuf, namebuflen)) -+ break; /* got one */ -+ if (PL_dowarn) -+ warn("pty_allocate(nonfatal): posix_openpt(): %.100s", strerror(errno)); -+#endif /* defined(HAVE_POSIX_OPENPT) */ -+ - #if defined(HAVE_GETPT) - /* glibc defines this */ - #if PTY_DEBUG |