Hello community, here is the log from the commit of package chromium checked in at Thu Sep 7 01:09:44 CEST 2006. -------- --- chromium/chromium.changes 2006-01-30 12:20:14.000000000 +0100 +++ chromium/chromium.changes 2006-09-05 13:28:26.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Sep 5 13:25:50 CEST 2006 - anosek@suse.cz + +- fixed compiler warning: operation on 'Global::randIndex' may be + undefined [#188219] (warning.patch) + +------------------------------------------------------------------- New: ---- Chromium-0.9-warning.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.iELSer/_old 2006-09-07 01:09:31.000000000 +0200 +++ /var/tmp/diff_new_pack.iELSer/_new 2006-09-07 01:09:31.000000000 +0200 @@ -5,7 +5,7 @@ # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -17,7 +17,7 @@ PreReq: permissions Autoreqprov: on Version: 0.9.12 -Release: 1005 +Release: 1020 Source: %{name}-src-%{version}.tar.bz2 Source1: %{name}-data-%{version}.tar.bz2 Source2: %name.desktop @@ -25,6 +25,7 @@ Patch: Chromium-0.9.dif Patch1: Chromium-0.9-qt3.patch Patch2: Chromium-0.9-libpng.patch +Patch3: Chromium-0.9-warning.patch URL: http://www.reptilelabour.com/software/chromium/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Vertical Scrolling Space Shooter Game @@ -41,6 +42,7 @@ %patch %patch1 %patch2 +%patch3 find -type d -name CVS | xargs rm -rfv find -type d -name .xvpics | xargs rm -rfv # %{suse_update_config} @@ -94,6 +96,9 @@ /usr/share/pixmaps/* %changelog -n chromium +* Tue Sep 05 2006 - anosek@suse.cz +- fixed compiler warning: operation on 'Global::randIndex' may be + undefined [#188219] (warning.patch) * Mon Jan 30 2006 - ro@suse.de - added Mesa-devel to BuildRequires * Wed Jan 25 2006 - mls@suse.de ++++++ Chromium-0.9-warning.patch ++++++ --- src/EnemyFleet.cpp +++ src/EnemyFleet.cpp @@ -416,6 +416,7 @@ float scaleX,scaleY; int i; float ii; + int randval; for(i = 4; i > 0; i--) { @@ -423,16 +424,20 @@ b = thisEnemy->size[1]*(i*0.2); p[0] = thisEnemy->pos[0]+a*FRAND; p[1] = thisEnemy->pos[1]+b*FRAND; - game->explosions->addExplo(Explosions::EnemyDestroyed, p, (int)(-FRAND*8.0), 1.5+FRAND); + randval = (int)(-FRAND*8.0); + game->explosions->addExplo(Explosions::EnemyDestroyed, p, randval, 1.5+FRAND); p[0] = thisEnemy->pos[0]-a*FRAND; p[1] = thisEnemy->pos[1]+b*FRAND; - game->explosions->addExplo(Explosions::EnemyDestroyed, p, (int)(-FRAND*8.0), 1.5+FRAND); + randval = (int)(-FRAND*8.0); + game->explosions->addExplo(Explosions::EnemyDestroyed, p, randval, 1.5+FRAND); p[0] = thisEnemy->pos[0]+a*FRAND; p[1] = thisEnemy->pos[1]-b*FRAND; - game->explosions->addExplo(Explosions::EnemyDestroyed, p, (int)(-FRAND*8.0), 1.5+FRAND); + randval = (int)(-FRAND*8.0); + game->explosions->addExplo(Explosions::EnemyDestroyed, p, randval, 1.5+FRAND); p[0] = thisEnemy->pos[0]-a*FRAND; p[1] = thisEnemy->pos[1]-b*FRAND; - game->explosions->addExplo(Explosions::EnemyDestroyed, p, (int)(-FRAND*8.0), 1.5+FRAND); + randval = (int)(-FRAND*8.0); + game->explosions->addExplo(Explosions::EnemyDestroyed, p, randval, 1.5+FRAND); } switch(thisEnemy->type) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org