forked from pool/ncurses
Reintroduce patch ncurses-6.1-fallback.dif to fix boo#1130091
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=417
This commit is contained in:
parent
458a7f236b
commit
641b01344c
19
ncurses-6.1-fallback.dif
Normal file
19
ncurses-6.1-fallback.dif
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
ncurses/tinfo/lib_setup.c | 6 +++++-
|
||||||
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- ncurses/tinfo/lib_setup.c
|
||||||
|
+++ ncurses/tinfo/lib_setup.c 2019-03-22 08:46:01.634603415 +0000
|
||||||
|
@@ -761,7 +761,11 @@ TINFO_SETUP_TERM(TERMINAL **tp,
|
||||||
|
|
||||||
|
if (fallback) {
|
||||||
|
T(("found fallback entry"));
|
||||||
|
- TerminalType(termp) = *fallback;
|
||||||
|
+#if NCURSES_EXT_NUMBERS
|
||||||
|
+ _nc_copy_termtype2(&(TerminalType(termp)),fallback);
|
||||||
|
+#else
|
||||||
|
+ _nc_copy_termtype(&(TerminalType(termp)),fallback);
|
||||||
|
+#endif
|
||||||
|
status = TGETENT_YES;
|
||||||
|
}
|
||||||
|
}
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 22 08:59:22 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Reintroduce patch ncurses-6.1-fallback.dif to fix boo#1130091
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 19 09:16:38 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
Tue Mar 19 09:16:38 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -74,6 +74,7 @@ Source6: edit.sed
|
|||||||
Source7: baselibs.conf
|
Source7: baselibs.conf
|
||||||
Patch0: ncurses-6.1.dif
|
Patch0: ncurses-6.1.dif
|
||||||
Patch1: ncurses-5.9-ibm327x.dif
|
Patch1: ncurses-5.9-ibm327x.dif
|
||||||
|
Patch2: ncurses-6.1-fallback.dif
|
||||||
Patch4: ncurses-5.7-tack.dif
|
Patch4: ncurses-5.7-tack.dif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%global _miscdir %{_datadir}/misc
|
%global _miscdir %{_datadir}/misc
|
||||||
@ -310,6 +311,7 @@ rm -fr tack
|
|||||||
tar -xzf %{S:5}
|
tar -xzf %{S:5}
|
||||||
mv tack-* tack
|
mv tack-* tack
|
||||||
%patch1 -p0 -b .327x
|
%patch1 -p0 -b .327x
|
||||||
|
%patch2 -p0 -b .fb
|
||||||
%patch4 -p0 -b .hs
|
%patch4 -p0 -b .hs
|
||||||
%patch0 -p0 -b .p0
|
%patch0 -p0 -b .p0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user