.
OBS-URL: https://build.opensuse.org/package/show/Base:System/procps?expand=0&rev=110
This commit is contained in:
parent
4d5aeaf0b4
commit
7ab2ed6cd8
13
procps-ng-3.3.8-vmstat-terabyte.dif
Normal file
13
procps-ng-3.3.8-vmstat-terabyte.dif
Normal file
@ -0,0 +1,13 @@
|
||||
--- vmstat.c
|
||||
+++ vmstat.c 2013-08-02 12:57:52.677680360 +0000
|
||||
@@ -224,8 +224,8 @@ static void new_header(void)
|
||||
|
||||
static unsigned long unitConvert(unsigned long size)
|
||||
{
|
||||
- float cvSize;
|
||||
- cvSize = (float)size / dataUnit * ((statMode == SLABSTAT) ? 1 : 1024);
|
||||
+ long double cvSize;
|
||||
+ cvSize = (long double)size / dataUnit * ((statMode == SLABSTAT) ? 1 : 1024);
|
||||
return ((unsigned long)cvSize);
|
||||
}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 2 13:00:57 UTC 2013 - werner@suse.de
|
||||
|
||||
- Add patch procps-ng-3.3.8-vmstat-terabyte.dif to readd last
|
||||
trifle rest of the old terabyte patch (is this really required?)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 25 11:31:34 UTC 2013 - werner@suse.de
|
||||
|
||||
|
@ -83,6 +83,8 @@ Patch25: 0001-top-enable-screen-contents-preservation-at-endofjob.patch
|
||||
Patch26: 0002-top-cursor-repositioning-includes-line-oriented-inpu.patch
|
||||
# PATCH-FIX-UPSTREAM -- Suppress end-of-job report if top if not ended with 'q' key
|
||||
Patch27: 0001-top-refine-some-miscellaneous-signals-interrupt-stuf.patch
|
||||
# PATCH-FIX-OPENSUSE -- trifle rest of the old terabyte patch
|
||||
Patch28: procps-ng-3.3.8-vmstat-terabyte.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -154,6 +156,7 @@ the process information pseudo-file system,
|
||||
%patch25 -p1
|
||||
%patch26 -p1
|
||||
%patch27 -p1
|
||||
%patch28
|
||||
|
||||
%build
|
||||
test -s .tarball-version || echo %{version} > .tarball-version
|
||||
|
Loading…
x
Reference in New Issue
Block a user