Accepting request 185612 from Base:System

- Add patch procps-ng-3.3.8-vmstat-terabyte.dif to readd last
  trifle rest of the old terabyte patch (is this really required?)

OBS-URL: https://build.opensuse.org/request/show/185612
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=77
This commit is contained in:
Stephan Kulow 2013-08-04 15:07:47 +00:00 committed by Git OBS Bridge
parent 27601165fb
commit 49c2577f37
3 changed files with 22 additions and 0 deletions

View 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);
}

View File

@ -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

View File

@ -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