From f99ae3f90a40cab5ac45a299e82a8987b7264eab Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 14:46:01 +0200 Subject: Adding debian version 4.8.0-6. Signed-off-by: Daniel Baumann --- debian/patches/52fix_screen_utf8_nfd.patch | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 debian/patches/52fix_screen_utf8_nfd.patch (limited to 'debian/patches/52fix_screen_utf8_nfd.patch') diff --git a/debian/patches/52fix_screen_utf8_nfd.patch b/debian/patches/52fix_screen_utf8_nfd.patch new file mode 100644 index 0000000..00a070d --- /dev/null +++ b/debian/patches/52fix_screen_utf8_nfd.patch @@ -0,0 +1,39 @@ +Author: Michael Schröder +Reviewed-By: Axel Beckert +Description: screen outputs screen "ÿ" after a connected character. + This is a character without the need. + This happens in UTF-8 environment. + Before : screen$ ruby1.9.1 -e 'puts "\u304b\u3099.."' + がÿ... + patch applied : screen $ ruby1.9.1 -e 'puts "\u304b\u3099.."' + が.. +Origin: https://lists.gnu.org/archive/html/screen-devel/2021-02/msg00012.html +Bugs-Debian: https://bugs.debian.org/600246 +Bugs-Debian: https://bugs.debian.org/677512 + +diff --git a/ansi.c b/ansi.c +index 2a52edd..83b266d 100644 +--- a/ansi.c ++++ b/ansi.c +@@ -692,10 +692,6 @@ register int len; + } + curr->w_rend.font = 0; + } +-# ifdef DW_CHARS +- if (curr->w_encoding == UTF8 && utf8_isdouble(c)) +- curr->w_mbcs = 0xff; +-# endif + if (curr->w_encoding == UTF8 && c >= 0x0300 && utf8_iscomb(c)) + { + int ox, oy; +@@ -730,6 +726,10 @@ register int len; + } + break; + } ++# ifdef DW_CHARS ++ if (curr->w_encoding == UTF8 && utf8_isdouble(c)) ++ curr->w_mbcs = 0xff; ++# endif + font = curr->w_rend.font; + # endif + # ifdef DW_CHARS -- cgit v1.2.3