aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-IO-Tty/files/patch-Tty.xs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-IO-Tty/files/patch-Tty.xs')
-rw-r--r--devel/p5-IO-Tty/files/patch-Tty.xs11
1 files changed, 11 insertions, 0 deletions
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;