[SCM] cmus packaging branch, master, updated. debian/2.3.3-1-1-gcae3369
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Sun Aug 1 10:03:35 UTC 2010
The following commit has been merged in the master branch:
commit cae336996efe050aa834944e48452bbd81ee7814
Author: Alessio Treglia <alessio at debian.org>
Date: Sun Aug 1 12:03:28 2010 +0200
Prevent terminal corruption on track change.
diff --git a/debian/patches/03-terminal_corruption.patch b/debian/patches/03-terminal_corruption.patch
new file mode 100644
index 0000000..8625d58
--- /dev/null
+++ b/debian/patches/03-terminal_corruption.patch
@@ -0,0 +1,29 @@
+Description: Save tcap strings to a separate buffer.
+ tcap strings hey are saved to print_buffer, which later is overwritten,
+ resulting in terminal corruption when cmus tries to change terminal title on
+ track change.
+Origin: upstream, commit:a40da89a168a533673e69a71a0cb0b8827a8385d
+Forwarded: not-needed
+---
+ ui_curses.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- cmus.orig/ui_curses.c
++++ cmus/ui_curses.c
+@@ -109,6 +109,7 @@ static char conv_buffer[512];
+
+ static int using_utf8;
+
++static char tcap_buffer[64];
+ static const char *t_ts;
+ static const char *t_fs;
+
+@@ -2045,7 +2046,7 @@ static void init_curses(void)
+ */
+ update_colors();
+
+- ptr = print_buffer;
++ ptr = tcap_buffer;
+ t_ts = tgetstr("ts", &ptr);
+ t_fs = tgetstr("fs", &ptr);
+ d_print("ts: %d fs: %d\n", !!t_ts, !!t_fs);
diff --git a/debian/patches/series b/debian/patches/series
index d0866f8..6d2095b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
01_spelling_mistakes.diff
02_cmus-tutorial_whatis.diff
+03-terminal_corruption.patch
--
cmus packaging
More information about the pkg-multimedia-commits
mailing list