Hello community,

here is the log from the commit of package xiterm for openSUSE:Factory checked 
in at 2020-09-05 23:58:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xiterm (Old)
 and      /work/SRC/openSUSE:Factory/.xiterm.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xiterm"

Sat Sep  5 23:58:38 2020 rev:37 rq:831448 version:0.5.20040304

Changes:
--------
--- /work/SRC/openSUSE:Factory/xiterm/xiterm.changes    2019-08-14 
11:36:41.384704194 +0200
+++ /work/SRC/openSUSE:Factory/.xiterm.new.3399/xiterm.changes  2020-09-05 
23:59:16.271159760 +0200
@@ -1,0 +2,8 @@
+Wed Sep  2 11:50:58 UTC 2020 - [email protected]
+
+- added patches
+  fix do not enable application keypad mode [bsc#1158271]
+  + xiterm-no-keypad-application-mode.patch
+- big thanks to Stefan Hundhammer
+
+-------------------------------------------------------------------

New:
----
  xiterm-no-keypad-application-mode.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xiterm.spec ++++++
--- /var/tmp/diff_new_pack.uU06tP/_old  2020-09-05 23:59:17.195160223 +0200
+++ /var/tmp/diff_new_pack.uU06tP/_new  2020-09-05 23:59:17.199160225 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xiterm
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,11 +23,11 @@
 Version:        0.5.20040304
 Release:        0
 Summary:        Internationalized Terminal Emulator for X11
-License:        SUSE-CPL-0.5
-Group:          System/X11/Terminals
 # cvs -d:pserver:[email protected]:/cvsroot login (no password to 
login)
 # cvs -d:pserver:[email protected]:/cvsroot co iterm
 # tar jcvf iterm-0.5.20040304.tar.bz2 iterm
+License:        SUSE-CPL-0.5
+Group:          System/X11/Terminals
 Source0:        iterm-0.5.20040304.tar.bz2
 Source1:        fonts.tar.bz2
 Patch0:         xiterm-fontset.patch
@@ -43,6 +43,8 @@
 Patch10:        xiterm-automake-1.13.patch
 Patch11:        implict-ptsname-decl.patch
 Patch12:        stropts.patch
+# do not enable application keypad mode [bsc#1158271]
+Patch13:        xiterm-no-keypad-application-mode.patch
 BuildRequires:  bdftopcf
 BuildRequires:  fribidi-devel
 BuildRequires:  gtk2-devel
@@ -92,8 +94,8 @@
 
 %package -n libiterm1
 Summary:        Internationalized Terminal Emulator Library
-Group:          System/Libraries
 # ncurses provides an alternative /usr/share/terminfo/i/iterm, the files 
conflict though
+Group:          System/Libraries
 Conflicts:      terminfo-iterm
 # O/P added in 12.3
 Provides:       libiterm = %version-%release
@@ -115,8 +117,8 @@
 
 %package -n libXiterm1
 Summary:        Terminal emulator Xaw widget library based on libiterm
-Group:          System/Libraries
 # O/P added in 12.3
+Group:          System/Libraries
 Provides:       libXiterm = %version-%release
 Obsoletes:      libXiterm < %version-%release
 
@@ -146,6 +148,7 @@
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch13 -p1
 find . -name CVS -type d | xargs rm -rf
 find . -name .cvsignore -type f | xargs rm -f
 find . -type f | xargs chmod u+w

++++++ xiterm-no-keypad-application-mode.patch ++++++
diff --git a/unix/fbiterm/src/term.c b/unix/fbiterm/src/term.c
index 18c9945..7adc3b5 100644
--- a/unix/fbiterm/src/term.c
+++ b/unix/fbiterm/src/term.c
@@ -17,7 +17,9 @@ void
 init_tty ()
 {
   struct termios t;
-  write(STDOUT_FILENO, "\x1b=",2); /* to switch keypad application modes */
+
+  // don't do this (bsc#1158271)
+  // write(STDOUT_FILENO, "\x1b=",2); /* to switch keypad application modes */
 
   /* save current parameters */
   tcgetattr (STDIN_FILENO, &(pIterm->ntio));

Reply via email to