From 851690b9aa613248f901dde2d2112ad35cde03f177e4978deca1be17612eb113 Mon Sep 17 00:00:00 2001
From: OBS User buildservice-autocommit <null@suse.de>
Date: Wed, 16 Aug 2023 12:16:19 +0000
Subject: [PATCH] Updating link to change in openSUSE:Factory/ncurses revision
 245

OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=f99127b2063e96411443ac8ae4b6e521
---
 ncurses-5.9-ibm327x.dif     |  2 +-
 ncurses-6.4-patches.tar.bz2 |  4 +--
 ncurses-6.4.dif             | 72 ++++++++++++++++++-------------------
 ncurses.changes             | 33 +++++++++++++++++
 4 files changed, 72 insertions(+), 39 deletions(-)

diff --git a/ncurses-5.9-ibm327x.dif b/ncurses-5.9-ibm327x.dif
index f2618c8..5344253 100644
--- a/ncurses-5.9-ibm327x.dif
+++ b/ncurses-5.9-ibm327x.dif
@@ -4,7 +4,7 @@
 
 --- misc/terminfo.src
 +++ misc/terminfo.src	2018-10-29 10:23:47.271511864 +0000
-@@ -18081,8 +18081,8 @@ hazel|exec80|h80|he80|Hazeltine Executiv
+@@ -18095,8 +18095,8 @@ hazel|exec80|h80|he80|Hazeltine Executiv
  #
  
  ibm327x|line mode IBM 3270 style,
diff --git a/ncurses-6.4-patches.tar.bz2 b/ncurses-6.4-patches.tar.bz2
index cd2e63f..bddf127 100644
--- a/ncurses-6.4-patches.tar.bz2
+++ b/ncurses-6.4-patches.tar.bz2
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:edff0348c7ddd30f86dd56db0cc132d349e114352f7a3792fbfd50d2f62d6264
-size 914761
+oid sha256:037e25a0c4ffdc99544e5d1d8ee3b4555179cf3742d7dfda3b43bc449a8a41a7
+size 1017529
diff --git a/ncurses-6.4.dif b/ncurses-6.4.dif
index e3c21b0..7a4819f 100644
--- a/ncurses-6.4.dif
+++ b/ncurses-6.4.dif
@@ -18,8 +18,8 @@
  16 files changed, 203 insertions(+), 72 deletions(-)
 
 --- aclocal.m4
-+++ aclocal.m4	2023-06-05 09:25:29.405796254 +0000
-@@ -6064,12 +6064,12 @@ cat >>$cf_edit_man <<CF_EOF
++++ aclocal.m4	2023-07-31 08:53:05.149222032 +0000
+@@ -6065,12 +6065,12 @@ cat >>$cf_edit_man <<CF_EOF
  		echo "? missing rename for \$cf_source"
  		cf_target="\$cf_source"
  	fi
@@ -34,7 +34,7 @@
  	sed	-f "$cf_man_alias" \\
  CF_EOF
  
-@@ -6079,7 +6079,7 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -6080,7 +6080,7 @@ cat >>$cf_edit_man <<CF_EOF
  CF_EOF
  else
  cat >>$cf_edit_man <<CF_EOF
@@ -43,7 +43,7 @@
  CF_EOF
  fi
  
-@@ -6119,7 +6119,7 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -6120,7 +6120,7 @@ cat >>$cf_edit_man <<CF_EOF
  		mv \$TMP.$cf_manpage_so_strip \$TMP
  	fi
  	fi
@@ -52,7 +52,7 @@
  CF_EOF
  fi
  
-@@ -6128,31 +6128,31 @@ case "$MANPAGE_FORMAT" in
+@@ -6129,31 +6129,31 @@ case "$MANPAGE_FORMAT" in
  cat >>$cf_edit_man <<CF_EOF
  	if test "\$form" = format ; then
  		# BSDI installs only .0 suffixes in the cat directories
@@ -91,7 +91,7 @@
  				for cf_alias in \$aliases
  				do
  					if test "\$section" = 1 ; then
-@@ -6162,7 +6162,7 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -6163,7 +6163,7 @@ cat >>$cf_edit_man <<CF_EOF
  
  					if test "$MANPAGE_SYMLINKS" = yes ; then
  						if test -f "\$cf_alias\${suffix}" ; then
@@ -100,7 +100,7 @@
  							then
  								continue
  							fi
-@@ -6172,18 +6172,18 @@ CF_EOF
+@@ -6173,18 +6173,18 @@ CF_EOF
  case "x$LN_S" in
  (*-f)
  cat >>$cf_edit_man <<CF_EOF
@@ -122,7 +122,7 @@
  						echo ".so \$cf_source" >\$TMP
  CF_EOF
  if test -n "$cf_manpage_compress" ; then
-@@ -6203,9 +6203,9 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -6204,9 +6204,9 @@ cat >>$cf_edit_man <<CF_EOF
  			)
  		)
  	elif test "\$verb" = removing ; then
@@ -135,7 +135,7 @@
  		)
  		test -d "\$cf_subdir\${section}" &&
  		test -n "\$aliases" && (
-@@ -6226,6 +6226,7 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -6227,6 +6227,7 @@ cat >>$cf_edit_man <<CF_EOF
  #		echo ".hy 0"
  		cat \$TMP
  	fi
@@ -144,7 +144,7 @@
  esac
  done
 --- configure
-+++ configure	2023-06-05 09:25:29.413796110 +0000
++++ configure	2023-07-31 08:53:05.153221959 +0000
 @@ -6439,7 +6439,7 @@ echo $ECHO_N "checking for an rpath opti
  		fi
  		;;
@@ -174,7 +174,7 @@
  	do
  
  if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "$cf_with_pcre2"; then
-@@ -15238,12 +15238,12 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -15242,12 +15242,12 @@ cat >>$cf_edit_man <<CF_EOF
  		echo "? missing rename for \$cf_source"
  		cf_target="\$cf_source"
  	fi
@@ -189,7 +189,7 @@
  	sed	-f "$cf_man_alias" \\
  CF_EOF
  
-@@ -15253,7 +15253,7 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -15257,7 +15257,7 @@ cat >>$cf_edit_man <<CF_EOF
  CF_EOF
  else
  cat >>$cf_edit_man <<CF_EOF
@@ -198,7 +198,7 @@
  CF_EOF
  fi
  
-@@ -15293,7 +15293,7 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -15297,7 +15297,7 @@ cat >>$cf_edit_man <<CF_EOF
  		mv \$TMP.$cf_manpage_so_strip \$TMP
  	fi
  	fi
@@ -207,7 +207,7 @@
  CF_EOF
  fi
  
-@@ -15302,31 +15302,31 @@ case "$MANPAGE_FORMAT" in
+@@ -15306,31 +15306,31 @@ case "$MANPAGE_FORMAT" in
  cat >>$cf_edit_man <<CF_EOF
  	if test "\$form" = format ; then
  		# BSDI installs only .0 suffixes in the cat directories
@@ -246,7 +246,7 @@
  				for cf_alias in \$aliases
  				do
  					if test "\$section" = 1 ; then
-@@ -15336,7 +15336,7 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -15340,7 +15340,7 @@ cat >>$cf_edit_man <<CF_EOF
  
  					if test "$MANPAGE_SYMLINKS" = yes ; then
  						if test -f "\$cf_alias\${suffix}" ; then
@@ -255,7 +255,7 @@
  							then
  								continue
  							fi
-@@ -15346,18 +15346,18 @@ CF_EOF
+@@ -15350,18 +15350,18 @@ CF_EOF
  case "x$LN_S" in
  (*-f)
  cat >>$cf_edit_man <<CF_EOF
@@ -277,7 +277,7 @@
  						echo ".so \$cf_source" >\$TMP
  CF_EOF
  if test -n "$cf_manpage_compress" ; then
-@@ -15377,9 +15377,9 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -15381,9 +15381,9 @@ cat >>$cf_edit_man <<CF_EOF
  			)
  		)
  	elif test "\$verb" = removing ; then
@@ -290,7 +290,7 @@
  		)
  		test -d "\$cf_subdir\${section}" &&
  		test -n "\$aliases" && (
-@@ -15400,6 +15400,7 @@ cat >>$cf_edit_man <<CF_EOF
+@@ -15404,6 +15404,7 @@ cat >>$cf_edit_man <<CF_EOF
  #		echo ".hy 0"
  		cat \$TMP
  	fi
@@ -452,7 +452,7 @@
  
  	if [ $name = $MAIN_LIBRARY ]
 --- misc/terminfo.src
-+++ misc/terminfo.src	2023-07-11 06:28:14.087199913 +0000
++++ misc/terminfo.src	2023-08-14 07:32:59.781546885 +0000
 @@ -305,7 +305,9 @@ dumb|80-column dumb tty,
  	am,
  	cols#80,
@@ -489,7 +489,7 @@
  	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5
  	    %t;2%;%?%p6%t;1%;m%?%p9%t\016%e\017%;,
  	sgr0=\E[m\017, smacs=^N, use=linux2.2,
-@@ -5024,7 +5033,7 @@ xterm-new|modern xterm terminal emulator
+@@ -5038,7 +5047,7 @@ xterm-new|modern xterm terminal emulator
  # set it to BS (standard) or DEL (Linux's notion of "vt220").  xterm provides
  # either, depending on how the pseudoterminals are configured.
  xterm+kbs|fragment for backspace key,
@@ -498,7 +498,7 @@
  
  # Use this fragment for terminals that always use DEL for "backspace".
  linux+kbs|fragment for "backspace" key,
-@@ -5410,7 +5419,7 @@ xterm+88color2|xterm 88-color feature,
+@@ -5424,7 +5433,7 @@ xterm+88color2|xterm 88-color feature,
  
  # These variants of XFree86 3.9.16 xterm are built as a configure option.
  xterm-256color|xterm with 256 colors,
@@ -507,7 +507,7 @@
  xterm-88color|xterm with 88 colors,
  	use=xterm+osc104, use=xterm+88color,
  	use=xterm-256color,
-@@ -5688,9 +5697,25 @@ xterm-noapp|xterm with cursor keys in no
+@@ -5702,9 +5711,25 @@ xterm-noapp|xterm with cursor keys in no
  xterm-24|vs100|xterms|xterm terminal emulator 24-line (X Window System),
  	lines#24, use=xterm-old,
  
@@ -534,7 +534,7 @@
  
  # This entry assumes that xterm's handling of VT100 SI/SO is disabled by
  # setting the vt100Graphics resource to false.
-@@ -6119,7 +6144,7 @@ xterms-sun|small (80x24) xterm with sunF
+@@ -6133,7 +6158,7 @@ xterms-sun|small (80x24) xterm with sunF
  
  #### GNOME (VTE)
  # this describes the alpha-version of GNOME terminal shipped with Redhat 6.0
@@ -543,7 +543,7 @@
  	bce,
  	kdch1=^?, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
  	use=linux+kbs, use=xterm-color,
-@@ -6408,11 +6433,15 @@ mgt|Multi GNOME Terminal,
+@@ -6422,11 +6447,15 @@ mgt|Multi GNOME Terminal,
  #### KDE
  # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
  # or not is debatable).
@@ -560,7 +560,7 @@
  # Konsole 1.0.1 (2001/11/25)
  # (formerly known as kvt)
  #
-@@ -6666,7 +6695,7 @@ mlterm3|multi lingual terminal emulator
+@@ -6680,7 +6709,7 @@ mlterm3|multi lingual terminal emulator
  mlterm2|multi lingual terminal emulator 2.x,
  	am, eslok, km, mc5i, mir, msgr, npc, xenl, XT,
  	colors#8, cols#80, it#8, lines#24, pairs#64,
@@ -569,7 +569,7 @@
  	bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=\r,
  	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
  	cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
-@@ -6742,7 +6771,7 @@ rxvt-basic|rxvt terminal base (X Window
+@@ -6756,7 +6785,7 @@ rxvt-basic|rxvt terminal base (X Window
  	enacs=\E(B\E)0, flash=\E[?5h$<100/>\E[?5l, home=\E[H,
  	ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
  	ind=\n, is1=\E[?47l\E=\E[?1l,
@@ -578,7 +578,7 @@
  	kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
  	rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m,
  	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
-@@ -6836,8 +6865,8 @@ rxvt-basic|rxvt terminal base (X Window
+@@ -6850,8 +6879,8 @@ rxvt-basic|rxvt terminal base (X Window
  # Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
  rxvt+pcfkeys|rxvt fragment for PC-style fkeys,
  	kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d,
@@ -589,7 +589,7 @@
  	kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
  	kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
  	kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
-@@ -6925,6 +6954,38 @@ rxvt-cygwin-native|rxvt terminal emulato
+@@ -6939,6 +6968,38 @@ rxvt-cygwin-native|rxvt terminal emulato
  	     \302x\263y\363z\362{\343|\330~\376,
  	use=rxvt-cygwin,
  
@@ -628,7 +628,7 @@
  # This variant is supposed to work with rxvt 2.7.7 when compiled with
  # NO_BRIGHTCOLOR defined.  rxvt needs more work...
  rxvt-16color|rxvt with 16 colors like aixterm,
-@@ -6989,7 +7050,7 @@ Eterm|Eterm-color|Eterm with xterm-style
+@@ -7003,7 +7064,7 @@ Eterm|Eterm-color|Eterm with xterm-style
  	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
  	il=\E[%p1%dL, il1=\E[L, ind=\n, is1=\E[?47l\E>\E[?1l,
  	is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kNXT@,
@@ -637,7 +637,7 @@
  	kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
  	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
  	rmam=\E[?7l, rmir=\E[4l, rmkx=, rmso=\E[27m, rmul=\E[24m,
-@@ -8105,7 +8166,7 @@ pty|4bsd pseudo teletype,
+@@ -8119,7 +8180,7 @@ pty|4bsd pseudo teletype,
  # https://github.com/emacs-mirror/emacs/blob/master/lisp/term.el
  #
  # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
@@ -646,7 +646,7 @@
  	am, mir, xenl,
  	cols#80, lines#24,
  	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=\r,
-@@ -8117,6 +8178,13 @@ eterm|GNU Emacs term.el terminal emulati
+@@ -8131,6 +8192,13 @@ eterm|GNU Emacs term.el terminal emulati
  	il=\E[%p1%dL, il1=\E[L, ind=\n, rev=\E[7m, rmir=\E[4l,
  	rmso=\E[m, rmul=\E[m, sgr0=\E[m, smir=\E[4h, smso=\E[7m,
  	smul=\E[4m, use=xterm+alt47, use=ansi+cpr,
@@ -660,7 +660,7 @@
  
  # The codes supported by the term.el terminal emulation in GNU Emacs 22.2
  eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96,
-@@ -8365,11 +8433,18 @@ screen.xterm-xfree86|screen.xterm-new|sc
+@@ -8379,11 +8447,18 @@ screen.xterm-xfree86|screen.xterm-new|sc
  	E3@, use=screen+italics, use=screen+fkeys,
  	use=xterm+x11mouse, use=ecma+index, use=ansi+rep,
  	use=ecma+strikeout, use=xterm+pcfkeys,
@@ -680,7 +680,7 @@
  
  # xterm-r6 does not really support khome/kend unless it is propped up by
  # the translations resource.
-@@ -8460,7 +8535,7 @@ screen2|VT 100/ANSI X3.64 virtual termin
+@@ -8474,7 +8549,7 @@ screen2|VT 100/ANSI X3.64 virtual termin
  	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
  	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
  	el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
@@ -689,7 +689,7 @@
  	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
  	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
  	nel=\r\n, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
-@@ -10437,7 +10512,7 @@ hp700-wy|HP 700/41 emulating Wyse30,
+@@ -10451,7 +10526,7 @@ hp700-wy|HP 700/41 emulating Wyse30,
  	ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
  	sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
  	smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
@@ -698,7 +698,7 @@
  	am, da, db, xhp,
  	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
  	acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
-@@ -18091,7 +18166,7 @@ ibm3101|i3101|IBM 3101-10,
+@@ -18105,7 +18180,7 @@ ibm3101|i3101|IBM 3101-10,
  	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
  	el=\EI, home=\EH, hts=\E0, ind=\n, kcub1=\ED, kcud1=\EB,
  	kcuf1=\EC, kcuu1=\EA, nel=\r\n, tbc=\EH,
@@ -707,7 +707,7 @@
  	is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
  	sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;
  	    %?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t
-@@ -18349,7 +18424,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De
+@@ -18363,7 +18438,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De
  	tbc=\E[3g, use=ecma+index,
  # "Megapel" refers to the display adapter, which was used with the IBM RT
  # aka IBM 6150.
diff --git a/ncurses.changes b/ncurses.changes
index b880db4..c36ed30 100644
--- a/ncurses.changes
+++ b/ncurses.changes
@@ -1,3 +1,36 @@
+-------------------------------------------------------------------
+Mon Aug 14 07:32:23 UTC 2023 - Dr. Werner Fink <werner@suse.de>
+
+- Add ncurses patch 20230812
+  + add/use putty+cursor to reflect amending of modified cursor-keys
+    in 2021 -TD
+  + add ecma+strikeout to putty -TD
+  + add functions to query tty-flags in SCREEN (request by Bill Gray).
+
+-------------------------------------------------------------------
+Mon Aug  7 13:00:42 UTC 2023 - Dr. Werner Fink <werner@suse.de>
+
+- Add ncurses patch 20230805
+  + fix a few manpages needing tbl marker, seen by lintian warning.
+  + fixes for compiler-warnings.
+  + minor grammatical fix for manpages (Branden Robinson).
+
+-------------------------------------------------------------------
+Mon Jul 31 08:52:16 UTC 2023 - Dr. Werner Fink <werner@suse.de>
+
+- Add ncurses patch 20230729
+  + improve manpages for wgetnstr() and wget_wnstr().
+  + modify MinGW configuration to provide for running in MSYS/MSYS2
+    shells, assuming ConPTY support (patch by Pavel Fedin).
+  + add assignment in CF_MAN_PAGES to fill in value for TERMINFO_DIRS in
+    ncurses, terminfo and tic manpages (patch by Sven Joachim).
+
+-------------------------------------------------------------------
+Mon Jul 24 09:29:58 UTC 2023 - Dr. Werner Fink <werner@suse.de>
+
+- Add ncurses patch 20230722
+  + add "auto" default for --with-xterm-kbs configure option.
+
 -------------------------------------------------------------------
 Mon Jul 17 06:12:22 UTC 2023 - Dr. Werner Fink <werner@suse.de>