summaryrefslogtreecommitdiffstats
path: root/debian/patches/upstream-168eab11a7.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:34:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:34:38 +0000
commitdf7e23e93574873618aee45820803ee4c38d9698 (patch)
treee4772d1825878a561dec4bf04262aff22cc8cef1 /debian/patches/upstream-168eab11a7.diff
parentAdding upstream version 3.3a. (diff)
downloadtmux-9f5a6913c4f7f61b97dafb280423223dc602ccc4.tar.xz
tmux-9f5a6913c4f7f61b97dafb280423223dc602ccc4.zip
Adding debian version 3.3a-5.debian/3.3a-5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/upstream-168eab11a7.diff')
-rw-r--r--debian/patches/upstream-168eab11a7.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/upstream-168eab11a7.diff b/debian/patches/upstream-168eab11a7.diff
new file mode 100644
index 0000000..be8a90c
--- /dev/null
+++ b/debian/patches/upstream-168eab11a7.diff
@@ -0,0 +1,25 @@
+From 736f7f223235bc050d71565ef243739ef27af066 Mon Sep 17 00:00:00 2001
+From: Nicholas Marriott <nicholas.marriott@gmail.com>
+Date: Fri, 28 Apr 2023 07:23:53 +0100
+Subject: [PATCH 3/4] Cast both strings for tparm.
+
+---
+ tty-term.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tty-term.c b/tty-term.c
+index 18b174208d..f2b548d811 100644
+--- a/tty-term.c
++++ b/tty-term.c
+@@ -839,7 +839,7 @@ tty_term_string_ss(struct tty_term *term, enum tty_code_code code,
+ #elif defined(HAVE_TIPARM)
+ s = tiparm(x, a, b);
+ #else
+- s = tparm((char *)x, (long)a, b, 0, 0, 0, 0, 0, 0, 0);
++ s = tparm((char *)x, (long)a, (long)b, 0, 0, 0, 0, 0, 0, 0);
+ #endif
+ if (s == NULL)
+ fatalx("could not expand %s", tty_term_codes[code].name);
+--
+2.39.2
+