forked from pool/ncurses
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=306
This commit is contained in:
parent
68e3dda252
commit
647b642246
30
ncurses-6.0-crashw.patch
Normal file
30
ncurses-6.0-crashw.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
ncurses/curses.priv.h | 10 +++++-----
|
||||||
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
--- ncurses/curses.priv.h
|
||||||
|
+++ ncurses/curses.priv.h 2017-05-30 07:21:41.456357778 +0000
|
||||||
|
@@ -1137,11 +1137,6 @@ struct screen {
|
||||||
|
int _pair_count; /* same as COLOR_PAIRS */
|
||||||
|
int _pair_limit; /* actual limit of color-pairs */
|
||||||
|
#if NCURSES_EXT_FUNCS
|
||||||
|
-#if USE_NEW_PAIR
|
||||||
|
- void *_ordered_pairs; /* index used by alloc_pair() */
|
||||||
|
- int _pairs_used; /* actual number of color-pairs used */
|
||||||
|
- int _recent_pair; /* number for most recent free-pair */
|
||||||
|
-#endif
|
||||||
|
bool _assumed_color; /* use assumed colors */
|
||||||
|
bool _default_color; /* use default colors */
|
||||||
|
bool _has_sgr_39_49; /* has ECMA default color support */
|
||||||
|
@@ -1295,6 +1290,11 @@ struct screen {
|
||||||
|
/*
|
||||||
|
* ncurses/ncursesw are the same up to this point.
|
||||||
|
*/
|
||||||
|
+#if USE_NEW_PAIR
|
||||||
|
+ void *_ordered_pairs; /* index used by alloc_pair() */
|
||||||
|
+ int _pairs_used; /* actual number of color-pairs used */
|
||||||
|
+ int _recent_pair; /* number for most recent free-pair */
|
||||||
|
+#endif
|
||||||
|
#if USE_WIDEC_SUPPORT
|
||||||
|
/* recent versions of 'screen' have partially-working support for
|
||||||
|
* UTF-8, but do not permit ACS at the same time (see tty_update.c).
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 30 07:29:14 UTC 2017 - werner@suse.de
|
||||||
|
|
||||||
|
- Add patch ncurses-6.0-crashw.patch as a temporary fix which will
|
||||||
|
become part of next patch level: solve binary incompatiblity of
|
||||||
|
libtinfow and libtinfo
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 29 06:51:13 UTC 2017 - werner@suse.de
|
Mon May 29 06:51:13 UTC 2017 - werner@suse.de
|
||||||
|
|
||||||
|
@ -66,6 +66,9 @@ Source7: baselibs.conf
|
|||||||
Patch0: ncurses-6.0.dif
|
Patch0: ncurses-6.0.dif
|
||||||
Patch1: ncurses-5.9-ibm327x.dif
|
Patch1: ncurses-5.9-ibm327x.dif
|
||||||
Patch4: ncurses-5.7-tack.dif
|
Patch4: ncurses-5.7-tack.dif
|
||||||
|
# PATCH-FIX-UPSTREAM ... temporary patch which will become part of next
|
||||||
|
# patch level: fix binary incompatiblity of libtinfow with libtinfo
|
||||||
|
Patch40: ncurses-6.0-crashw.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%global _miscdir %{_datadir}/misc
|
%global _miscdir %{_datadir}/misc
|
||||||
%global _incdir %{_includedir}
|
%global _incdir %{_includedir}
|
||||||
@ -237,6 +240,7 @@ find -name '*.orig' -delete
|
|||||||
rm -fr tack
|
rm -fr tack
|
||||||
tar -xzf %{S:5}
|
tar -xzf %{S:5}
|
||||||
mv tack-* tack
|
mv tack-* tack
|
||||||
|
%patch40 -p0 -b .crash
|
||||||
%patch1 -p0 -b .327x
|
%patch1 -p0 -b .327x
|
||||||
%patch4 -p0 -b .hs
|
%patch4 -p0 -b .hs
|
||||||
%patch0 -p0 -b .p0
|
%patch0 -p0 -b .p0
|
||||||
|
Loading…
Reference in New Issue
Block a user