SHA256
3
0
forked from pool/ncurses
Dr. Werner Fink 2012-07-20 15:38:20 +00:00 committed by Git OBS Bridge
parent 9e8fc3d729
commit 0fecfa6670
4 changed files with 36 additions and 2 deletions

View File

@ -0,0 +1,23 @@
--- man/curs_util.3x
+++ man/curs_util.3x 2012-07-20 15:36:56.188010145 +0000
@@ -159,6 +159,9 @@ ncurses modifies the last step in its co
checks if the \fBLINES\fR and \fBCOLUMNS\fR environment variables
are set to a number greater than zero.
.bP
+On openSUSE/SUSE Linux the default is \fBTRUE\fR, if you do not want this
+feature you may use the \fBuse_tioctl\fR routine with \fBFALSE\fR as an argument.
+.bP
for each, ncurses updates the corresponding environment variable
with the value that it has obtained via operating system call
or from the terminal database.
--- ncurses/tinfo/lib_data.c
+++ ncurses/tinfo/lib_data.c 2012-07-20 15:16:12.708010349 +0000
@@ -255,7 +255,7 @@ NCURSES_EXPORT_VAR(NCURSES_PRESCREEN) _n
NULL, /* _tputs_trace */
#endif
#endif
- FALSE, /* use_tioctl */
+ TRUE, /* use_tioctl */
};
/* *INDENT-ON* */

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:01bbaad70126e3991c383bad902e77479fbd390f8134bcbab6e12de373cfd75b oid sha256:cca70742cec2d524229eec0faa67b97469c9154fa3e60cdc895f5ab51fb9b1cd
size 1305476 size 1315164

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Jul 20 15:12:43 UTC 2012 - werner@suse.de
- Add ncurses patch 5.9.20120714 (bnc#769788)
+ add use_tioctl() function (adapted from patch by Werner Fink,
Novell #769788):
- Set the default for use_tioctl() to TRUE and add a note in the
manual page for this.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 9 12:51:19 UTC 2012 - werner@suse.de Mon Jul 9 12:51:19 UTC 2012 - werner@suse.de

View File

@ -48,6 +48,7 @@ Source7: baselibs.conf
Patch0: ncurses-%{version}.dif Patch0: ncurses-%{version}.dif
Patch3: ncurses-5.9-overwrite.dif Patch3: ncurses-5.9-overwrite.dif
Patch4: ncurses-5.7-tack.dif Patch4: ncurses-5.7-tack.dif
Patch5: ncurses-5.9-environment.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc %global _sysconfdir /etc
%global _miscdir %{_datadir}/misc %global _miscdir %{_datadir}/misc
@ -262,6 +263,7 @@ tar xfj %{S:5}
mv tack-* tack mv tack-* tack
%patch -P 3 -p0 -b .ow %patch -P 3 -p0 -b .ow
%patch -P 4 -p0 -b .hs %patch -P 4 -p0 -b .hs
%patch -P 5 -p0 -b .lc
%patch -P 0 -p0 -b .p0 %patch -P 0 -p0 -b .p0
rm -vf include/ncurses_dll.h rm -vf include/ncurses_dll.h
rm -vf mkdirs.sh rm -vf mkdirs.sh