git: d58e59f7bc46 - main - devel/p5-IO-Tty: Update to 1.18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Dec 2023 22:26:20 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d58e59f7bc4607b71d5fc872a46ab4b37d695f75
commit d58e59f7bc4607b71d5fc872a46ab4b37d695f75
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-01 22:08:28 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-01 22:13:27 +0000
devel/p5-IO-Tty: Update to 1.18
Changes: https://metacpan.org/dist/IO-Tty/changes
---
devel/p5-IO-Tty/Makefile | 2 +-
devel/p5-IO-Tty/distinfo | 6 +++---
devel/p5-IO-Tty/files/patch-Tty.xs | 11 +++++++++++
3 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/devel/p5-IO-Tty/Makefile b/devel/p5-IO-Tty/Makefile
index a2805b14a5a3..5bf40df7ffb3 100644
--- a/devel/p5-IO-Tty/Makefile
+++ b/devel/p5-IO-Tty/Makefile
@@ -1,5 +1,5 @@
PORTNAME= IO-Tty
-PORTVERSION= 1.17
+PORTVERSION= 1.18
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/devel/p5-IO-Tty/distinfo b/devel/p5-IO-Tty/distinfo
index db4f16f0c829..a671f9e62e8a 100644
--- a/devel/p5-IO-Tty/distinfo
+++ b/devel/p5-IO-Tty/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669058275
-SHA256 (IO-Tty-1.17.tar.gz) = a5f1a83020bc5b5dd6c1b570f48c7546e0a8f7fac10a068740b03925ad9e14e8
-SIZE (IO-Tty-1.17.tar.gz) = 27245
+TIMESTAMP = 1701364500
+SHA256 (IO-Tty-1.18.tar.gz) = b0e45b186e4ca54636b1f15111ec0fee86b993e23db529aacb4759df946792ff
+SIZE (IO-Tty-1.18.tar.gz) = 26567
diff --git a/devel/p5-IO-Tty/files/patch-Tty.xs b/devel/p5-IO-Tty/files/patch-Tty.xs
new file mode 100644
index 000000000000..aa2022c15356
--- /dev/null
+++ b/devel/p5-IO-Tty/files/patch-Tty.xs
@@ -0,0 +1,11 @@
+--- Tty.xs.orig 2022-11-11 20:14:48 UTC
++++ Tty.xs
+@@ -186,7 +186,7 @@ mysignal(int sig, mysig_t act)
+ * will be copied. Always NUL terminates (unless siz == 0).
+ * Returns strlen(src); if retval >= siz, truncation occurred.
+ */
+-static size_t
++size_t
+ strlcpy(dst, src, siz)
+ char *dst;
+ const char *src;