Mailinglist Archive: opensuse-commit (832 mails)

< Previous Next >
commit procps for openSUSE:Factory
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 24 Feb 2010 02:25:10 +0100
  • Message-id: <20100224012510.E59FB202AC@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package procps for openSUSE:Factory
checked in at Wed Feb 24 02:25:10 CET 2010.



--------
--- procps/procps.changes 2010-02-18 12:23:10.000000000 +0100
+++ /mounts/work_src_done/STABLE/procps/procps.changes 2010-02-22
22:26:36.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Feb 22 22:25:48 CET 2010 - seife@xxxxxxxxxxxx
+
+- fix build with gcc 4.5 ("=>" is no nonger valid, now it's ">=")
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
procps-3.2.8-gcc45.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ procps.spec ++++++
--- /var/tmp/diff_new_pack.em2khQ/_old 2010-02-24 02:24:53.000000000 +0100
+++ /var/tmp/diff_new_pack.em2khQ/_new 2010-02-24 02:24:53.000000000 +0100
@@ -27,7 +27,7 @@
PreReq: %fillup_prereq %insserv_prereq
AutoReqProv: on
Version: 3.2.8
-Release: 9
+Release: 10
Summary: ps utilities for /proc
Provides: ps
Obsoletes: ps
@@ -65,6 +65,7 @@
Patch29: procps-3.2.8-fdleak.dif
Patch30: procps-3.2.8-sysctlerr.dif
Patch31: procps-3.2.8-columns.dif
+Patch32: procps-3.2.8-gcc45.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
@@ -124,6 +125,7 @@
%patch29
%patch30
%patch31
+%patch32 -p1

%build
make %{?jobs:-j%jobs} CFLAGS="-Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
$RPM_OPT_FLAGS -pipe" \

++++++ procps-3.2.8-gcc45.diff ++++++
Index: procps-3.2.8/ps/output.c
===================================================================
--- procps-3.2.8.orig/ps/output.c
+++ procps-3.2.8/ps/output.c
@@ -463,11 +463,11 @@ static int pr_pcpu(char *restrict const
double uptime_secs;
total_time = pp->utime + pp->stime;
if(include_dead_children) total_time += (pp->cutime + pp->cstime);
jiffies = jiffies_since_boot - pp->start_time;
if(jiffies) pcpu = (total_time * 1000ULL) / jiffies;
- if (pcpu/10U => 100U) /* do not confuse the user by scale
effects */
+ if (pcpu/10U >= 100U) /* do not confuse the user by scale
effects */
return snprintf(outbuf, COLWID, "100");
return snprintf(outbuf, COLWID, "%u.%u", pcpu/10U, pcpu%10U);
}
/* this is a "per-mill" format, like %cpu with no decimal point */
static int pr_cp(char *restrict const outbuf, const proc_t *restrict const pp){

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread