This commit is contained in:
parent
6f49f90e5b
commit
86d80c352e
11
psmisc-22.6-tigetstr.patch
Normal file
11
psmisc-22.6-tigetstr.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- src/pstree.c
|
||||||
|
+++ src/pstree.c 2008-10-09 16:24:23.278874191 +0200
|
||||||
|
@@ -861,7 +861,7 @@ main (int argc, char **argv)
|
||||||
|
} else if (isatty (1) && (termname = getenv ("TERM")) && \
|
||||||
|
(strlen (termname) > 0) && \
|
||||||
|
(setupterm (NULL, 1 /* stdout */, NULL) == OK) && \
|
||||||
|
- (tigetstr ("acsc") > 0)) {
|
||||||
|
+ ((int)tigetstr ("acsc") > 0)) {
|
||||||
|
/*
|
||||||
|
* Failing that, if TERM is defined, a non-null value, and the terminal
|
||||||
|
* has the VT100 graphics charset, use it.
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 9 16:35:51 CEST 2008 - werner@suse.de
|
||||||
|
|
||||||
|
- Make compiler happy: Don't compare pointer with zero (bnc#432986)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 1 16:39:27 CEST 2008 - werner@suse.de
|
Wed Oct 1 16:39:27 CEST 2008 - werner@suse.de
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Group: System/Monitoring
|
|||||||
PreReq: %fillup_prereq %insserv_prereq
|
PreReq: %fillup_prereq %insserv_prereq
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 22.6
|
Version: 22.6
|
||||||
Release: 60
|
Release: 61
|
||||||
Provides: ps:/usr/bin/killall
|
Provides: ps:/usr/bin/killall
|
||||||
Summary: Utilities for managing processes on your system
|
Summary: Utilities for managing processes on your system
|
||||||
Source: http://switch.dl.sourceforge.net/sourceforge/psmisc/psmisc-%{version}.tar.bz2
|
Source: http://switch.dl.sourceforge.net/sourceforge/psmisc/psmisc-%{version}.tar.bz2
|
||||||
@ -37,6 +37,7 @@ Patch2: %name-22.6-nfs4fuser.patch
|
|||||||
Patch3: %name-22.6-netunix.patch
|
Patch3: %name-22.6-netunix.patch
|
||||||
Patch4: %name-22.6-writeonly.patch
|
Patch4: %name-22.6-writeonly.patch
|
||||||
Patch5: %name-22.6-fdleak.patch
|
Patch5: %name-22.6-fdleak.patch
|
||||||
|
Patch6: %name-22.6-tigetstr.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define nopeek s390 s390x ia64
|
%define nopeek s390 s390x ia64
|
||||||
|
|
||||||
@ -61,6 +62,7 @@ Authors:
|
|||||||
%patch3 -p0 -b .netunix
|
%patch3 -p0 -b .netunix
|
||||||
%patch4 -p0 -b .wrtonly
|
%patch4 -p0 -b .wrtonly
|
||||||
%patch5 -p0 -b .fdleak
|
%patch5 -p0 -b .fdleak
|
||||||
|
%patch6 -p0 -b .tigetstr
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -103,6 +105,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/pstree.1*
|
%{_mandir}/man1/pstree.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 09 2008 werner@suse.de
|
||||||
|
- Make compiler happy: Don't compare pointer with zero (bnc#432986)
|
||||||
* Wed Oct 01 2008 werner@suse.de
|
* Wed Oct 01 2008 werner@suse.de
|
||||||
- Avoid stat(2) for all network based file systems (bnc#409011)
|
- Avoid stat(2) for all network based file systems (bnc#409011)
|
||||||
* Tue Sep 23 2008 werner@suse.de
|
* Tue Sep 23 2008 werner@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user